We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d4eb8d commit fbbcbadCopy full SHA for fbbcbad
1 file changed
README.md
@@ -58,6 +58,14 @@ const restoredUnsafe = jsonWeb3.parse_UNSAFE(textUnsafe)
58
// restoredUnsafe.fn is a callable function
59
```
60
61
+## Full example
62
+
63
+```ts
64
+import jsonWeb3 from 'json-web3'
65
66
+window.JSON = jsonWeb3 // Yes, you can replace it directly; it is fully compatible.
67
+```
68
69
## API (Fully compatible with native globalThis.JSON)
70
71
- `stringify(value, replacer?, space?)`
0 commit comments