TJSONFloatNumber class
Class to represent floating-point JSON data.
Declaration
TJSONFloatNumber = class(TJSONNumber)Inheritance
- TJSONFloatNumber
- TJSONNumber
- TJSONData
- 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
GetAsBoolean | protected | |
GetAsFloat | protected | |
GetAsInteger | protected | |
GetAsJSON | protected | |
GetAsString | protected | |
GetValue | protected | |
GetAsInt64 | protected | |
GetAsQWord | protected | |
SetAsInt64 | protected | |
SetAsQword | protected | |
SetAsBoolean | protected | |
SetAsFloat | protected | |
SetAsInteger | protected | |
SetAsString | protected | |
SetValue | protected | |
DoFormatJSON | protected | |
Create | public | Create a new floating-point value. |
NumberType | public | Kind of numerical data managed by this class. |
Clear | public | Clear value. |
Clone | public | Clone floating point value. |
Inherited
From TJSONNumber (1)
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.
