CJSON Event Reference - adsicks/gambas-json GitHub Wiki

Added

Event Added(key As String, name As String, value As String, type As String)

Event to send data to calling program for representation in a Tree View or other hierarchical representation. Fires as the JSON is parsed.

Key is the newly added key.

Name is the name from the newly added name/value pair.

Value is the value from the name/value pair.

Type is the string representation of the JSType of the value.

TODO: consider passing an integer for the JSType and letting the calling program decode this into a string if needed.