diff --git a/README.md b/README.md index ca8f85d..6b3f3b2 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,9 @@ encoder.popObject(); // Get serialized data let json: Uint8Array = encoder.serialize(); +// Or get serialized data as string +let jsonString: String = encoder.toString(); + ``` ## Parsing JSON