Sign in Join
FPDoc Onlineexperiment

TJSONNumber class

In unit fpJson

Common ancestor for the numerical value JSON classes.

Declaration

pascal
TJSONNumber = class(TJSONData)

Inheritance

  1. TJSONNumber
  2. TJSONData
  3. TObject

Descends from it: TJSONFloatNumber TJSONInt64Number TJSONIntegerNumber TJSONQWordNumber

Description

TJSONNumber is an abstract class which serves as the ancestor for the 3 numerical classes. It should never be instantiated directly. Instead, depending on the kind of data, one of TJSONIntegerNumber, TJSONInt64Number or TJSONFloatNumber should be instantiated.

See also

Methods

JSONTypepublicnative JSON data type.
NumberTypepublicKind of numerical data managed by this class.

Inherited

From TJSONData (47)

AsBoolean AsFloat AsInt64 AsInteger AsJSON AsLargeInt AsQWord AsString AsUnicodeString Clear Clone CompressedJSON Count Create DoError DoFindPath DoFormatJSON DumpJSON FindPath FormatJSON GetAsBoolean GetAsFloat GetAsInt64 GetAsInteger GetAsJSON GetAsQWord GetAsString GetAsUnicodeString GetCount GetEnumerator GetIsNull GetItem GetPath GetValue IsNull Items SetAsBoolean SetAsFloat SetAsInt64 SetAsInteger SetAsQword SetAsString SetAsUnicodeString SetItem SetValue TFormatJSONContext Value

From TObject (41)

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