Json


Object Hierarchy:

Object hierarchy for Json

Description:

public class Json : Object

Static utility methods for JSON parsing, serialization, and querying.

JSON is handled as a value tree rooted in JsonValue. The typical workflow is `parse` -> `query` -> `asString` to reach data in three steps.

Example:

    var root = Json.parse ("{\"user\": {\"name\": \"Alice\"}}");
var name = Json.getString (root, "$.user.name", "unknown");
assert (name == "Alice");


Namespace: Vala.Encoding
Package: Valacore

Content:

Static methods:

Creation methods:

Inherited Members:

All known members inherited from class GLib.Object