TJSONObject class
Class of
TJSONObject.
Declaration
TJSONObject = class(TJSONData)Inheritance
Description
TJSONObjectClass is the class type of
TJSONObject. It is used in the factory methods.See also
Properties
UnquotedMemberNames | public | Should member names be written unquoted or quoted in JSON. |
Names | public | Indexed access to the names of elements. |
Elements | public | Name-based access to JSON values in the object. |
Types | public | Types of values in the object. |
Nulls | public | Named access to null values. |
Floats | public | Named access to float values. |
Integers | public | Named access to integer values. |
Int64s | public | Named access to int64 values. |
QWords | public | Named access to QWord values. |
LargeInts | public | Get or set elements as LargeInt values. |
UnicodeStrings | public | Named access to Unicode string values. |
Strings | public | Named access to string values. |
Booleans | public | Named access to boolean values. |
Arrays | public | Named access to JSON array values. |
Objects | public | Named access to JSON object values. |
Methods
DoFindPath | protected | |
Converterror | protected | |
GetAsBoolean | protected | |
GetAsFloat | protected | |
GetAsInteger | protected | |
GetAsInt64 | protected | |
GetAsQWord | protected | |
SetAsInt64 | protected | |
SetAsQword | protected | |
SetAsBoolean | protected | |
SetAsFloat | protected | |
SetAsInteger | protected | |
GetAsJSON | protected | |
GetAsString | protected | |
SetAsString | protected | |
GetValue | protected | |
SetValue | protected | |
GetCount | protected | |
GetItem | protected | |
SetItem | protected | |
DoFormatJSON | protected | |
Create | public | Create a new instance of JSON object data. |
Destroy | public | Free the JSON object. |
JSONType | public | native JSON data type. |
Clone | public | Clone the JSON object. |
GetEnumerator | public | Get an object enumerator. |
Iterate | public | Iterate over all elements in the object. |
IndexOf | public | Return index of JSONData instance in object. |
IndexOfName | public | Return index of name in item list. |
Find | public | Find an element by name. |
Get | public | Retrieve a value by name. |
Clear | public | Clear the object. |
Add | public | Add a name, value to the object. |
Delete | public | Delete an element from the list by index. |
Remove | public | Remove item by instance. |
Extract | public | Extract an element from the object. |
Inherited
From TJSONData (23)
AsBoolean AsFloat AsInt64 AsInteger AsJSON AsLargeInt AsQWord AsString AsUnicodeString CompressedJSON Count DoError DumpJSON FindPath FormatJSON GetAsUnicodeString GetIsNull GetPath IsNull Items 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.
