Sign in Join
FPDoc Onlineexperiment

TAbstractJSONWriter class

In unit JsonWriter

Abstract base class for JSON writers

Declaration

pascal
TAbstractJSONWriter = class(TObject)

Inheritance

  1. TAbstractJSONWriter
  2. TObject

Descends from it: TJSONDataWriter TJSONStreamWriter

Description

TAbstractJSONWriter is the abstract base class for all JSON writer implementations. It provides the interface for writing JSON data and implements convenience methods for writing properties. Derived classes must implement the abstract methods for actual writing operations.

See also

Methods

WriteValuepublicWrite a JSON value to the output
WritePropertypublicWrite a named property to a JSON object
StartPropertypublicStart writing a property in a JSON object
EndPropertypublicEnd writing a property in a JSON object
StartArraypublicStart writing a JSON array
EndArraypublicEnd writing a JSON array
NextElementpublicPrepare for the next element in a JSON array
StartObjectpublicStart writing a JSON object
EndObjectpublicEnd writing a JSON object
FlushpublicFlush any pending output to the destination

Inherited

From TObject (42)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance Create DefaultHandler DefaultHandlerStr Destroy 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.