parseFile


Description:

public static JsonValue? parseFile (Path path)

Parses a JSON file into a JsonValue tree.

Example:

    var root = Json.parseFile (new Path ("/path/to/data.json"));

Parameters:

path

the file path.

Returns:

parsed value or null if read/parse failed.