Sign in Join
FPDoc Onlineexperiment

TJSONArray class

In unit fpJson

Class of TJSONArray.

Declaration

pascal
TJSONArray = class(TJSONData)

Inheritance

  1. TJSONArray
  2. TJSONData
  3. TObject

Description

TJSONArrayClass is the class type of TJSONArray. It is used in the factory methods.

See also

Properties

ItemspublicIndexed access to the values in the array.
TypespublicJSON types of elements in the array.
NullspublicCheck which elements are null.
IntegerspublicGet or set elements as integer values.
Int64spublicGet or set elements as Int64 values.
LargeIntspublicGet or set elements as LargeInt values.
QWordspublicGet or set elements as QWord values.
UnicodeStringspublicGet or set elements as Unicode string values.
StringspublicGet or set elements as string values.
FloatspublicGet or set elements as floating-point numerical values.
BooleanspublicGet or set elements as boolean values.
ArrayspublicGet or set elements as JSON array values.
ObjectspublicGet or set elements as JSON object values.

Methods

DoFindPathprotected
Converterrorprotected
GetAsBooleanprotected
GetAsFloatprotected
GetAsIntegerprotected
GetAsInt64protected
GetAsQWordprotected
SetAsInt64protected
SetAsQwordprotected
SetAsBooleanprotected
SetAsFloatprotected
SetAsIntegerprotected
GetAsJSONprotected
GetAsStringprotected
SetAsStringprotected
GetValueprotected
SetValueprotected
GetCountprotected
GetItemprotected
SetItemprotected
DoFormatJSONprotected
CreatepublicCreate a new instance of JSON array data.
DestroypublicFree the JSON array.
JSONTypepublicnative JSON data type.
ClonepublicClone the JSON array.
IteratepublicIterate over all elements in the array.
IndexOfpublicReturn index of JSONData instance in array.
GetEnumeratorpublicGet an array enumerator.
ClearpublicClear the array.
AddpublicAdd a JSON value to the array.
DeletepublicDelete an element from the list by index.
ExchangepublicExchange 2 elements in the list.
ExtractpublicExtract an element from the array.
InsertpublicInsert an element in the array.
MovepublicMove a value from one location to another.
RemovepublicRemove an element from the list.
SortpublicSort the items in the array.

Inherited

From TJSONData (22)

AsBoolean AsFloat AsInt64 AsInteger AsJSON AsLargeInt AsQWord AsString AsUnicodeString CompressedJSON Count DoError DumpJSON FindPath FormatJSON GetAsUnicodeString GetIsNull GetPath IsNull SetAsUnicodeString TFormatJSONContext Value

From TObject (40)

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