mirror of
https://github.com/fluencelabs/assemblyscript-json
synced 2025-04-25 06:42:24 +00:00
Add .toString() to README
This commit is contained in:
parent
e856830f77
commit
2191631b93
@ -36,6 +36,9 @@ encoder.popObject();
|
|||||||
// Get serialized data
|
// Get serialized data
|
||||||
let json: Uint8Array = encoder.serialize();
|
let json: Uint8Array = encoder.serialize();
|
||||||
|
|
||||||
|
// Or get serialized data as string
|
||||||
|
let jsonString: String = encoder.toString();
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Parsing JSON
|
## Parsing JSON
|
||||||
|
Loading…
x
Reference in New Issue
Block a user