Parser.loadFromData

bool loadFromData(string data)

Loads a JSON stream from a buffer and parses it.

You can call this function multiple times with the same parser, but the contents of the parser will be destroyed each time.

Parameters

datathe buffer to parse

Returns

TRUE if the buffer was succesfully parsed

Throws

[ErrorWrap]