Einhugur JSON Plugin III for Xojo

EinhugurJSONIII.JSONArray Class (console safe)

A JSON array is an ordered collection of other JSON values.

EinhugurJSONIII.JSONPrimitive
   JSONArray

class EinhugurJSONIII.JSONArray

Constructors

JSONArrayPrivate constructor.

Properties

BooleanValue (Inherited) Reads or writes Boolean value if the JSONPrimitive is actually Boolean.
CountReturns the number of elements in JSON array.
DoubleValue (Inherited) Reads or writes Double value if the JSONPrimitive is actually Double.
Int32Value (Inherited) Reads or writes Int32 value if the JSONPrimitive is actually Int32.
Int64Value (Inherited) Reads or writes Int64 value if the JSONPrimitive is actually Int64.
IsArray (Inherited) Returns true if the JSONPrimitive is actually JSON array.
IsBoolean (Inherited) Returns true if the JSONPrimitive is actually Boolean.
IsDouble (Inherited) Returns true if the JSONPrimitive is actually Double.
IsInt (Inherited) Returns true if the JSONPrimitive is actually Integer based (Int32 or Int64).
IsNull (Inherited) Returns true if the JSONPrimitive represents JSON null.
IsNumber (Inherited) Returns true if the JSONPrimitive is actually number.
IsObject (Inherited) Returns true if the JSONPrimitive is actually JSON object.
IsString (Inherited) Returns true if the JSONPrimitive is actually String.
MemberCount (Inherited) Return number of members in the JSON object.
StringValue (Inherited) Reads or writes String value if the JSONPrimitive is actually String.
Type (Inherited) Returns type code enum value for the JSON primitive.

Methods

AddMember (Inherited) Adds Boolean member to a JSON object.
AddMember (Inherited) Adds Double member to a JSON object.
AddMember (Inherited) Adds JSONPrimitive member to a JSON object.
AddMember (Inherited) Adds Int32 member to a JSON object.
AddMember (Inherited) Adds Int64 member to a JSON object.
AddMember (Inherited) Adds String member to a JSON object.
AppendAppends Boolean value to the Array.
AppendAppends Double value to the Array.
AppendAppends JSONPrimitive to the array.
AppendAppends Int32 value to the Array.
AppendAppends Int64 value to the Array.
AppendAppends String value to the Array.
AppendNullAppends Null to the array.
AsArray (Inherited) Gets JSONArray from the JSONPrimitive if the primitive is actually array.
BooleanValueByIndexGets or sets Boolean value by given index.
BooleanValueByKey (Inherited) Gets or Sets Boolean value by key on a JSON object.
ClearClears all elements from the array.
Clone (Inherited) Deep clones the primitive..
DoubleValueByIndexGets or sets Double value by given index.
DoubleValueByKey (Inherited) Gets or Sets Double value by key on a JSON object.
GetSource (Inherited) Gets source for the JSON primitive and all nodes bellow it.
HasMember (Inherited) Checks if JSON object has a member by given name.
Int32ValueByIndexGets or sets Int32 value by given index.
Int32ValueByKey (Inherited) Gets or Sets Int32 value by key on a JSON object.
Int64ValueByIndexGets or sets Int64 value by given index.
Int64ValueByKey (Inherited) Gets or Sets Int64 value by key on a JSON object.
Operator_Compare (Inherited) Compares the JSON primitive with a JSONprimitive value.
Operator_Compare (Inherited) Compares the JSON primitive with a Boolean value.
Operator_Compare (Inherited) Compares the JSON primitive with a double value.
Operator_Compare (Inherited) Compares the JSON primitive with a Int32 value.
Operator_Compare (Inherited) Compares the JSON primitive with a Int64 value.
Operator_Compare (Inherited) Compares the JSON primitive with a String value.
Operator_SubscriptReads the array using array operator, returning the result as JSONPrimitive.
Operator_SubscriptSets value in the array by JSONPrimitive using array operator.
Operator_Subscript (Inherited) Reads JSON primitive from JSON object by using the Xojo array operator.
RemoveAllMembers (Inherited) Removes all members from the primitive if the primitive is a JSON object.
RemoveAtRemoves element from the array.
RemoveMember (Inherited) Removes member by name from JSON object.
SetArray (Inherited) Changes the primitive so it becomes json array.
SetObject (Inherited) Changes the primitive so it becomes json object.
SortSorts the JSON array by a supplied comparing routine.
SortKeys (Inherited) Sorts the Keys if the primitive is actually Object.
StringValueByIndexGets or sets String value by given index.
StringValueByKey (Inherited) Gets or Sets String value by key on a JSON object.

Delegates

CompareNodesDelegate (console safe) Delegate for sort routine to be used with the Sort method.

Supported Platforms:

  • macOS Intel 32 bit
  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit
  • iOS