Utility function to encode a JSON object into a valid string that can be inserted in a URI. The object is first stringified, then encoded in base64, and finally encoded via the builtin encodeURIComponent function.
The object to encode
The encoded object
Generated using TypeDoc
Utility function to encode a JSON object into a valid string that can be inserted in a URI. The object is first stringified, then encoded in base64, and finally encoded via the builtin encodeURIComponent function.