Synclets logoSynclets

jsonParse

The jsonParse function parses a JSON string that may have come from jsonString.

jsonParse(string: string): any
TypeDescription
stringstring

The JSON string to parse.

returnsany

The parsed value.

This is a wrapper around JSON.parse that provides type safety and handles potential parsing errors gracefully. Use this to deserialize strings created by jsonString.

Since

v0.0.0