This function parses a JSON string into a typed field - such as an object or a list - that you can use in subsequent functions. It’s the inverse of the Stringify function.
The input string must be valid JSON format or you will encounter a runtime error. Be sure to set the type of the output field to match the actual type represented in the string, otherwise you may encounter runtime errors.
For example, if your input is the string:
{ "a": "this", "b": "that", "c": "the other" }
then you should set the output type to object - you will get an object with 3 keys ”a”, “b”, and “c”.
If your input is the string:
[ "this is the first", "this is the second", "this is the third"]
then you should set the output type to be a list of text.
If you’re not familiar with JSON, you can read about it at Wikipedia’s JSON article. It is a standard format used by web developers to send data to and from RESTful web services.
Input Fields
- string: the string of JSON to parse
Output Fields
- output: the parsed JSON value, in the type you have specified