Parser.hasAssignment

A JSON data stream might sometimes contain an assignment, like:

var _json_data = { "member_name" : [ ...

even though it would technically constitute a violation of the RFC.

json.parser.Parser will ignore the left hand identifier and parse the right hand value of the assignment. json.parser.Parser will record, though, the existence of the assignment in the data stream and the variable name used.

class Parser
bool
hasAssignment
(
out string variableName
)

Parameters

variableName string

the variable name

Return Value

Type: bool

TRUE if there was an assignment, and FALSE otherwise