Function

Json-1.0Jsonfrom_stringSince 1.2

  • Parses the given string and returns the corresponding JSON tree.

    If the string is empty, this function will return NULL.

    In case of parsing error, this function returns NULL and sets the error appropriately.

    Parameters

    • str: string

      a valid UTF-8 string containing JSON data

    Returns Json.Node

    the root node of the JSON tree

    1.2