Sign in Join
FPDoc Onlineexperiment

TJSONBoolean class

In unit fpJson

Class to represent boolean JSON data.

Declaration

pascal
TJSONBoolean = class(TJSONData)

Inheritance

  1. TJSONBoolean
  2. TJSONData
  3. TObject

Description

TJSONBoolean must be used whenever boolean data must be represented. It has limited functionality to convert the value from or to integer or floating point data.

See also

Methods

GetValueprotected
SetValueprotected
GetAsBooleanprotected
GetAsFloatprotected
GetAsIntegerprotected
GetAsInt64protected
GetAsQWordprotected
SetAsInt64protected
SetAsQwordprotected
SetAsBooleanprotected
SetAsFloatprotected
SetAsIntegerprotected
GetAsJSONprotected
GetAsStringprotected
SetAsStringprotected
CreatepublicCreate a new instance of boolean JSON data.
JSONTypepublicnative JSON data type.
ClearpublicClear data.
ClonepublicClone boolean value.

Inherited

From TJSONData (29)

AsBoolean AsFloat AsInt64 AsInteger AsJSON AsLargeInt AsQWord AsString AsUnicodeString CompressedJSON Count DoError DoFindPath DoFormatJSON 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.