Sign in Join
FPDoc Onlineexperiment

TJSONParser class

In unit JsonParser

JSON parser implementation class

Declaration

pascal
TJSONParser = class(TBaseJSONReader)

Inheritance

  1. TJSONParser
  2. TBaseJSONReader
  3. TObject

Description

TJSONParser is a parser class for reading JSON data from streams or strings. It extends TBaseJSONReader and builds a tree of TJSONData objects representing the parsed JSON structure.

See also

Methods

KeyValueprotected
StringValueprotected
NullValueprotected
FloatValueprotected
BooleanValueprotected
NumberValueprotected
IntegerValueprotected
Int64Valueprotected
QWordValueprotected
StartArrayprotected
StartObjectprotected
EndArrayprotected
EndObjectprotected
ParsepublicParses JSON data and returns root object

Inherited

From TBaseJSONReader (13)

Create CurrentToken CurrentTokenString Destroy DoError DoExecute DoParse GetNextToken Options ParseArray ParseNumber ParseObject Scanner

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.