String.parse_json

String.parse_json

String.parse_json

Function

Parse the current JSON string into BT values.

Syntax

Parameters

No parameters.

Return value

TypeDescription
Any/NullThe corresponding BT value is returned if the parsing is successful; Null is returned if the parsing fails.

Example

Notes

  • JSON objects are converted to BT Object and arrays are converted to BT Array.
  • The original string will not be modified.