FROM_JSON

Converts a json string to frame.

Syntax

FROM_JSON(string)
  • string - The json to convert.

Sample Usage

FROM_JSON(C1)
{
 "name": "Sasha",
 "age": 16,
 "gender":"female",
    "pets": [
        {
            "nickname": "Alice",
            "kind": "cat",
            "age": 3
        },
        {
            "nickname": "Tina",
            "kind": "dog",
            "age": 2
        },
        {
            "nickname": "Goldy",
            "kind": "fish",
            "age": 1
        }
        ]
}

Return Value

  • Returns resulting frame.

Notes

In order for GRAB, GRAB_LIST, etc. to work, the first argument inputFrame must be represented by a FROM_JSON formula which returns a json frame.

See Also

Last updated

Was this helpful?