Sign in Join
FPDoc Onlineexperiment

TJSONFloatNumber class

In unit fpJson

Class to represent floating-point JSON data.

Declaration

pascal
TJSONFloatNumber = class(TJSONNumber)

Inheritance

  1. TJSONFloatNumber
  2. TJSONNumber
  3. TJSONData
  4. TObject

Description

TJSONFloatNumber must be used whenever floating point data must be represented. It can handle TJSONFloat data (normally a double). For integer data, TJSONIntegerNumber or TJSONInt64Number are better suited.

See also

Methods

GetAsBooleanprotected
GetAsFloatprotected
GetAsIntegerprotected
GetAsJSONprotected
GetAsStringprotected
GetValueprotected
GetAsInt64protected
GetAsQWordprotected
SetAsInt64protected
SetAsQwordprotected
SetAsBooleanprotected
SetAsFloatprotected
SetAsIntegerprotected
SetAsStringprotected
SetValueprotected
DoFormatJSONprotected
CreatepublicCreate a new floating-point value.
NumberTypepublicKind of numerical data managed by this class.
ClearpublicClear value.
ClonepublicClone floating point value.

Inherited

From TJSONNumber (1)

JSONType

From TJSONData (28)

AsBoolean AsFloat AsInt64 AsInteger AsJSON AsLargeInt AsQWord AsString AsUnicodeString CompressedJSON Count DoError DoFindPath DumpJSON FindPath FormatJSON GetAsUnicodeString GetCount GetEnumerator GetIsNull GetItem GetPath IsNull Items SetAsUnicodeString SetItem 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.