Skip to content

TOnJSONKey

Event handler for JSON object key names

Declaration

Source position: jsonreader.pp line 85

type
  TOnJSONKey = procedure(Sender: TObject; const AKey: TJSONStringType)
                        of object;

Arguments

Name Description
Sender Object that triggered the event
AKey Object key name found in the JSON data

Description

TOnJSONKey is an event handler type that is called when a JSON object key name is encountered during parsing. The event provides the sender object and the key name that was found in the JSON object data.

See also

Name Description
TJSONEventReader.OnKeyName Event fired when a JSON object key name is encountered