[ Version ( since = "1.6" ) ]
public bool load_from_mapped_file (string filename) throws Error
Loads a JSON stream from the content of `filename` and parses it.
Unlike [[email protected]_from_file], `filename` will be memory mapped as read-only and parsed. `filename` will be unmapped before this function returns.
If mapping or reading the file fails, a `G_FILE_ERROR` will be returned.
this |
a parser |
filename |
the path for the file to parse |
`TRUE` if the file was successfully loaded and parsed. |