from_string


Description:

[ Version ( since = "1.2" ) ]
public Node from_string (string str) throws Error

Parses the string in str and returns a Node representing the JSON tree.

In case of parsing error, this function returns null and sets throws appropriately.

Parameters:

str

a valid UTF-8 string containing JSON data

Returns:

a Node, or null


Namespace: Json
Package: json-glib-1.0