JsonArray

Overview

Type to hold an array of json nodes.

Location

  • Reference:
    • Elements.dll  .NET, .NET Core 6.0, .NET Standard 2.0
    • elements.jar  Cooper
    • Elements.fx  Island, ToffeeV2
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL
  • Platforms: .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, Toffee, ToffeeV2
  • Ancestry: JsonNode | JsonArray


 

constructor .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

 

constructor

 

JsonArray()

 

init()

 

JsonArray()

 

Sub New()

constructor init() Toffee

 

init(init )

Parameters:

  • :

constructor (not nullable ImmutableList<JsonNode>)

 

constructor(aItems: not nullable ImmutableList<JsonNode>)

 

JsonArray(ImmutableList<JsonNode>! aItems)

 

init(_ aItems: ImmutableList<JsonNode>)

 

JsonArray(ImmutableList<JsonNode> aItems)

 

Sub New(aItems As ImmutableList<JsonNode>)

Parameters:

  • aItems:

constructor (not nullable ImmutableList<String>) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2

 

constructor(aItems: not nullable ImmutableList<String>)

 

JsonArray(ImmutableList<String>! aItems)

 

init(_ aItems: ImmutableList<String>)

 

Sub New(aItems As ImmutableList<String>)

Parameters:

  • aItems:

constructor (not nullable array of JsonNode)

 

constructor(params aItems: not nullable array of JsonNode)

 

JsonArray(params JsonNode[]! aItems)

 

init(_ aItems: JsonNode...)

 

JsonArray(JsonNode[]... aItems)

 

Sub New(ParamArray aItems As JsonNode())

Parameters:

  • aItems:

constructor (not nullable array of String)

 

constructor(params aItems: not nullable array of String)

 

JsonArray(params String[]! aItems)

 

init(_ aItems: String...)

 

JsonArray(String[]... aItems)

 

Sub New(ParamArray aItems As String())

Parameters:

  • aItems:

Add (not nullable JsonNode)

Add a new node to the array.

 

method Add(aValue: not nullable JsonNode)

 

void Add(JsonNode! aValue)

 

func Add(_ aValue: JsonNode)

 

void Add(JsonNode aValue)

 

Sub Add(aValue As JsonNode)

Parameters:

  • aValue:

Adds 0 or more json nodes to this array.

 

method Add(aValues: ImmutableList<JsonNode>)

 

void Add(ImmutableList<JsonNode> aValues)

 

func Add(_ aValues: ImmutableList<JsonNode>)

 

void Add(ImmutableList<JsonNode> aValues)

 

Sub Add(aValues As ImmutableList<JsonNode>)

Parameters:

  • aValues:

Adds 0 or more strings to this array.

 

method Add(aValues: ImmutableList<String>)

 

void Add(ImmutableList<String> aValues)

 

func Add(_ aValues: ImmutableList<String>)

 

void Add(ImmutableList<String> aValues)

 

Sub Add(aValues As ImmutableList<String>)

Parameters:

  • aValues:

Add (array of JsonNode)

Adds 0 or more json nodes to this array.

 

method Add(params aValues: array of JsonNode)

 

void Add(params JsonNode[] aValues)

 

func Add(_ aValues: JsonNode...)

 

void Add(JsonNode[]... aValues)

 

Sub Add(ParamArray aValues As JsonNode())

Parameters:

  • aValues:

Add (array of String)

Adds 0 or more strings to this array.

 

method Add(params aValues: array of String)

 

void Add(params String[] aValues)

 

func Add(_ aValues: String...)

 

void Add(String[]... aValues)

 

Sub Add(ParamArray aValues As String())

Parameters:

  • aValues:

BooleanValue  virtual    (declared in JsonNode)

Returns this value as boolean. Fails if the type mismatches.

 

property BooleanValue: Boolean read write;

 

Boolean BooleanValue { get; set; }

 

var BooleanValue: Boolean { get{} set{} }

 

Boolean BooleanValue { __get; __set; }

 

Property BooleanValue() As Boolean

Clear .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

Clears this array.

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

 

Sub Clear()

Clear Clear()  virtual Toffee

 

func Clear(Clear )

Parameters:

  • :

Count  override

Returns the nr of items in this array

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Integer Count { __get; }

 

ReadOnly Property Count() As Int32

Create (nullable array of JsonNode): nullable JsonArray    (declared in JsonNode)

Create a new array node.

 

class method Create(aValue: nullable array of JsonNode): nullable JsonArray

 

static JsonArray? Create(JsonNode[]? aValue)

 

// Toffee
static func Create(_ aValue: JsonNode...) -> JsonArray
// ToffeeV2
static func Create(_ aValue: JsonNode...?) -> JsonArray?

 

static JsonArray Create(JsonNode[] aValue)

 

Shared Function Create(aValue As JsonNode()?) As JsonArray?

Parameters:

  • aValue:

Create (nullable Boolean): nullable JsonBooleanValue    (declared in JsonNode)

Create a new boolean node.

 

class method Create(aValue: nullable Boolean): nullable JsonBooleanValue

 

static JsonBooleanValue? Create(Boolean? aValue)

 

// Toffee
static func Create(_ aValue: Boolean!) -> JsonBooleanValue
// ToffeeV2
static func Create(_ aValue: Boolean!) -> JsonBooleanValue?

 

static JsonBooleanValue Create(Boolean aValue)

 

Shared Function Create(aValue As Boolean?) As JsonBooleanValue?

Parameters:

  • aValue:

Create (nullable Dictionary<String, JsonNode>): nullable JsonObject    (declared in JsonNode)

Create a new object node.

 

class method Create(aValue: nullable Dictionary<String, JsonNode>): nullable JsonObject

 

static JsonObject? Create(Dictionary<String, JsonNode>? aValue)

 

// Toffee
static func Create(_ aValue: Dictionary<String, JsonNode>) -> JsonObject
// ToffeeV2
static func Create(_ aValue: Dictionary<String, JsonNode>?) -> JsonObject?

 

static JsonObject Create(Dictionary<String, JsonNode> aValue)

 

Shared Function Create(aValue As Dictionary<String, JsonNode>?) As JsonObject?

Parameters:

  • aValue:

Create (nullable Double): nullable JsonFloatValue    (declared in JsonNode)

Create a new double node.

 

class method Create(aValue: nullable Double): nullable JsonFloatValue

 

static JsonFloatValue? Create(Double? aValue)

 

// Toffee
static func Create(_ aValue: Double!) -> JsonFloatValue
// ToffeeV2
static func Create(_ aValue: Double!) -> JsonFloatValue?

 

static JsonFloatValue Create(Double aValue)

 

Shared Function Create(aValue As Double?) As JsonFloatValue?

Parameters:

  • aValue:

Create (nullable Int64): nullable JsonIntegerValue    (declared in JsonNode)

Create a new int64 node.

 

class method Create(aValue: nullable Int64): nullable JsonIntegerValue

 

static JsonIntegerValue? Create(Int64? aValue)

 

// Toffee
static func Create(_ aValue: Int64!) -> JsonIntegerValue
// ToffeeV2
static func Create(_ aValue: Int64!) -> JsonIntegerValue?

 

static JsonIntegerValue Create(Long aValue)

 

Shared Function Create(aValue As Int64?) As JsonIntegerValue?

Parameters:

  • aValue:

Create (nullable List<JsonNode>): nullable JsonArray    (declared in JsonNode)

Create a new array node.

 

class method Create(aValue: nullable List<JsonNode>): nullable JsonArray

 

static JsonArray? Create(List<JsonNode>? aValue)

 

// Toffee
static func Create(_ aValue: List<JsonNode>) -> JsonArray
// ToffeeV2
static func Create(_ aValue: List<JsonNode>?) -> JsonArray?

 

static JsonArray Create(List<JsonNode> aValue)

 

Shared Function Create(aValue As List<JsonNode>?) As JsonArray?

Parameters:

  • aValue:

Create (nullable String): nullable JsonStringValue    (declared in JsonNode)

Create a new string node,.

 

class method Create(aValue: nullable String): nullable JsonStringValue

 

static JsonStringValue? Create(String? aValue)

 

// Toffee
static func Create(_ aValue: String) -> JsonStringValue
// ToffeeV2
static func Create(_ aValue: String?) -> JsonStringValue?

 

static JsonStringValue Create(String aValue)

 

Shared Function Create(aValue As String?) As JsonStringValue?

Parameters:

  • aValue:

description  override    (declared in JsonNode) ToffeeV2

Returns the string representation of this node.

 

func description() -> NSString

description description(): NSString  override    (declared in JsonNode) Toffee

 

func description(description ) -> NSString

Parameters:

  • :

FloatValue  virtual    (declared in JsonNode)

Returns the value of this node as float.

 

property FloatValue: Double read write;

 

Double FloatValue { get; set; }

 

var FloatValue: Double { get{} set{} }

 

Double FloatValue { __get; __set; }

 

Property FloatValue() As Double

GetEnumerator  virtual .NET, .NET Core 6.0, .NET Standard 2.0, Island

Returns a sequence with the elements in this array.

 

// .NET, .NET Core 6.0, .NET Standard 2.0
method GetEnumerator: IEnumerator<JsonNode>
// Island
method GetEnumerator: IEnumerator<JsonNode>

 

// .NET, .NET Core 6.0, .NET Standard 2.0
IEnumerator<JsonNode> GetEnumerator()
// Island
IEnumerator<JsonNode> GetEnumerator()

 

// .NET, .NET Core 6.0, .NET Standard 2.0
func GetEnumerator() -> IEnumerator<JsonNode>
// Island
func GetEnumerator() -> IEnumerator<JsonNode>

 

// .NET, .NET Core 6.0, .NET Standard 2.0
Function GetEnumerator() As IEnumerator<JsonNode>
// Island
Function GetEnumerator() As IEnumerator<JsonNode>

GetSequence .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

Returns a sequence with the elements in this array.

 

method GetSequence: IEnumerable<JsonNode>

 

IEnumerable<JsonNode> GetSequence()

 

func GetSequence() -> IEnumerable<JsonNode>

 

Iterable<JsonNode> GetSequence()

 

Function GetSequence() As IEnumerable<JsonNode>

GetSequence GetSequence(): INSFastEnumeration<JsonNode>  virtual Toffee

 

func GetSequence(GetSequence ) -> INSFastEnumeration<JsonNode>

Parameters:

  • :

Insert

insert an item at a given position.

 

method Insert(aIndex: Int32; aValue: not nullable JsonNode)

 

void Insert(Int32 aIndex, JsonNode! aValue)

 

func Insert(_ aIndex: Int32, _ aValue: JsonNode)

 

void Insert(Integer aIndex, JsonNode aValue)

 

Sub Insert(aIndex As Int32, aValue As JsonNode)

Parameters:

  • aIndex:
  • aValue:

IntegerValue  virtual    (declared in JsonNode)

Returns the value of this node as integer.

 

property IntegerValue: Int64 read write;

 

Int64 IntegerValue { get; set; }

 

var IntegerValue: Int64 { get{} set{} }

 

Int64 IntegerValue { __get; __set; }

 

Property IntegerValue() As Int64

Item  override

Access an item by index.

 

property Item[aIndex: Int32]: not nullable JsonNode read write;

 

JsonNode! Item[Int32 aIndex] { get; set; }

 

subscript Item(_ aIndex: Int32) -> JsonNode { get{} set{} }

 

JsonNode Item[Integer aIndex] { __get; __set; }

 

Property Item(aIndex As Int32) As JsonNode

Item  virtual    (declared in JsonNode)

Access an element node by index.

 

property Item[aKey: not nullable String]: nullable JsonNode read write;

 

JsonNode? Item[String! aKey] { get; set; }

 

// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
subscript Item(_ aKey: String) -> JsonNode? { get{} set{} }
// Toffee
subscript Item(_ aKey: String) -> JsonNode { get{} set{} }

 

JsonNode Item[String aKey] { __get; __set; }

 

Property Item(aKey As String) As JsonNode?

Item  virtual    (declared in JsonNode)

Access an element node by index.

 

property Item[Index: Int32]: not nullable JsonNode read write;

 

JsonNode! Item[Int32 Index] { get; set; }

 

subscript Item(_ Index: Int32) -> JsonNode { get{} set{} }

 

JsonNode Item[Integer Index] { __get; __set; }

 

Property Item(Index As Int32) As JsonNode

Item  virtual    (declared in JsonNode)

Access an element by name.

 

property Item[aKey: not nullable String]: Boolean write;

 

Boolean Item[String! aKey] { set; }

 

subscript Item(_ aKey: String) -> Boolean { set{} }

 

Boolean Item[String aKey] { __set; }

 

WriteOnly Property Item(aKey As String) As Boolean

Item  virtual    (declared in JsonNode)

Access an element by name.

 

property Item[aKey: not nullable String]: Double write;

 

Double Item[String! aKey] { set; }

 

subscript Item(_ aKey: String) -> Double { set{} }

 

Double Item[String aKey] { __set; }

 

WriteOnly Property Item(aKey As String) As Double

Item  virtual    (declared in JsonNode)

Access an element by name.

 

property Item[aKey: not nullable String]: Int32 write;

 

Int32 Item[String! aKey] { set; }

 

subscript Item(_ aKey: String) -> Int32 { set{} }

 

Integer Item[String aKey] { __set; }

 

WriteOnly Property Item(aKey As String) As Int32

Item  virtual    (declared in JsonNode)

Access an element by name.

 

property Item[aKey: not nullable String]: nullable String write;

 

String? Item[String! aKey] { set; }

 

// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
subscript Item(_ aKey: String) -> String? { set{} }
// Toffee
subscript Item(_ aKey: String) -> String { set{} }

 

String Item[String aKey] { __set; }

 

WriteOnly Property Item(aKey As String) As String?

Items

Returns all items.

 

property Items: not nullable ImmutableList<JsonNode> read;

 

ImmutableList<JsonNode>! Items { get; }

 

var Items: ImmutableList<JsonNode> { get{} }

 

ImmutableList<JsonNode> Items { __get; }

 

ReadOnly Property Items() As ImmutableList<JsonNode>

iterator Cooper

Returns a sequence with the elements in this array.

 

method iterator: Iterator<JsonNode>

 

Iterator<JsonNode> iterator()

 

func iterator() -> Iterator<JsonNode>

 

Iterator<JsonNode> iterator()

 

Function iterator() As Iterator<JsonNode>

Keys  virtual    (declared in JsonNode)

Returns all keys in this node.

 

property Keys: not nullable IEnumerable<String> read;

 

IEnumerable<String>! Keys { get; }

 

// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var Keys: IEnumerable<String> { get{} }
// Toffee
var Keys: INSFastEnumeration<String> { get{} }

 

Iterable<String> Keys { __get; }

 

ReadOnly Property Keys() As IEnumerable<String>

Load

Load a json string into this array.

 

class method Load(JsonString: String): not nullable JsonArray

 

static JsonArray! Load(String JsonString)

 

static func Load(_ JsonString: String) -> JsonArray

 

static JsonArray Load(String JsonString)

 

Shared Function Load(JsonString As String) As JsonArray

Parameters:

  • JsonString:

RemoveAt

Returns an item at a given position.

 

method RemoveAt(aIndex: Int32)

 

void RemoveAt(Int32 aIndex)

 

func RemoveAt(_ aIndex: Int32)

 

void RemoveAt(Integer aIndex)

 

Sub RemoveAt(aIndex As Int32)

Parameters:

  • aIndex:

StringValue  virtual    (declared in JsonNode)

Returns the string representation of this node.

 

property StringValue: String read write;

 

String StringValue { get; set; }

 

var StringValue: String { get{} set{} }

 

String StringValue { __get; __set; }

 

Property StringValue() As String

ToJson  override

 

method ToJson(aFormat: JsonFormat): String

 

String ToJson(JsonFormat aFormat)

 

func ToJson(_ aFormat: JsonFormat) -> String

 

String ToJson(JsonFormat aFormat)

 

Function ToJson(aFormat As JsonFormat) As String

Parameters:

  • aFormat:

toString    (declared in JsonNode) Cooper

 

method toString: PlatformString

 

PlatformString toString()

 

func toString() -> PlatformString

 

PlatformString toString()

 

Function toString() As PlatformString

ToString  virtual    (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2

Returns the string representation of this node.

 

method ToString: PlatformString

 

PlatformString ToString()

 

func ToString() -> String

 

Function ToString() As PlatformString

ToString ToString(): String  virtual    (declared in JsonNode) Toffee

 

func ToString(ToString ) -> String

Parameters:

  • :

ToStringList .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

Converts this array to a string list.

 

method ToStringList: not nullable ImmutableList<String>

 

ImmutableList<String>! ToStringList()

 

func ToStringList() -> ImmutableList<String>

 

ImmutableList<String> ToStringList()

 

Function ToStringList() As ImmutableList<String>

ToStringList ToStringList(): not nullable ImmutableList<String>  virtual Toffee

 

func ToStringList(ToStringList ) -> ImmutableList<String>

Parameters:

  • :

ToStrings .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

Converts this array to a string list.

 

method ToStrings: not nullable IEnumerable<String>

 

IEnumerable<String>! ToStrings()

 

func ToStrings() -> IEnumerable<String>

 

Iterable<String> ToStrings()

 

Function ToStrings() As IEnumerable<String>

ToStrings ToStrings(): not nullable INSFastEnumeration<String>  virtual Toffee

 

func ToStrings(ToStrings ) -> INSFastEnumeration<String>

Parameters:

  • :

 

BooleanValue  virtual    (declared in JsonNode)

Returns this value as boolean. Fails if the type mismatches.

 

property BooleanValue: Boolean read write;

 

Boolean BooleanValue { get; set; }

 

var BooleanValue: Boolean { get{} set{} }

 

Boolean BooleanValue { __get; __set; }

 

Property BooleanValue() As Boolean

Count  override

Returns the nr of items in this array

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Integer Count { __get; }

 

ReadOnly Property Count() As Int32

FloatValue  virtual    (declared in JsonNode)

Returns the value of this node as float.

 

property FloatValue: Double read write;

 

Double FloatValue { get; set; }

 

var FloatValue: Double { get{} set{} }

 

Double FloatValue { __get; __set; }

 

Property FloatValue() As Double

IntegerValue  virtual    (declared in JsonNode)

Returns the value of this node as integer.

 

property IntegerValue: Int64 read write;

 

Int64 IntegerValue { get; set; }

 

var IntegerValue: Int64 { get{} set{} }

 

Int64 IntegerValue { __get; __set; }

 

Property IntegerValue() As Int64

Item  override

Access an item by index.

 

property Item[aIndex: Int32]: not nullable JsonNode read write;

 

JsonNode! Item[Int32 aIndex] { get; set; }

 

subscript Item(_ aIndex: Int32) -> JsonNode { get{} set{} }

 

JsonNode Item[Integer aIndex] { __get; __set; }

 

Property Item(aIndex As Int32) As JsonNode

Item  virtual    (declared in JsonNode)

Access an element node by index.

 

property Item[aKey: not nullable String]: nullable JsonNode read write;

 

JsonNode? Item[String! aKey] { get; set; }

 

// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
subscript Item(_ aKey: String) -> JsonNode? { get{} set{} }
// Toffee
subscript Item(_ aKey: String) -> JsonNode { get{} set{} }

 

JsonNode Item[String aKey] { __get; __set; }

 

Property Item(aKey As String) As JsonNode?

Item  virtual    (declared in JsonNode)

Access an element node by index.

 

property Item[Index: Int32]: not nullable JsonNode read write;

 

JsonNode! Item[Int32 Index] { get; set; }

 

subscript Item(_ Index: Int32) -> JsonNode { get{} set{} }

 

JsonNode Item[Integer Index] { __get; __set; }

 

Property Item(Index As Int32) As JsonNode

Item  virtual    (declared in JsonNode)

Access an element by name.

 

property Item[aKey: not nullable String]: Boolean write;

 

Boolean Item[String! aKey] { set; }

 

subscript Item(_ aKey: String) -> Boolean { set{} }

 

Boolean Item[String aKey] { __set; }

 

WriteOnly Property Item(aKey As String) As Boolean

Item  virtual    (declared in JsonNode)

Access an element by name.

 

property Item[aKey: not nullable String]: Double write;

 

Double Item[String! aKey] { set; }

 

subscript Item(_ aKey: String) -> Double { set{} }

 

Double Item[String aKey] { __set; }

 

WriteOnly Property Item(aKey As String) As Double

Item  virtual    (declared in JsonNode)

Access an element by name.

 

property Item[aKey: not nullable String]: Int32 write;

 

Int32 Item[String! aKey] { set; }

 

subscript Item(_ aKey: String) -> Int32 { set{} }

 

Integer Item[String aKey] { __set; }

 

WriteOnly Property Item(aKey As String) As Int32

Item  virtual    (declared in JsonNode)

Access an element by name.

 

property Item[aKey: not nullable String]: nullable String write;

 

String? Item[String! aKey] { set; }

 

// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
subscript Item(_ aKey: String) -> String? { set{} }
// Toffee
subscript Item(_ aKey: String) -> String { set{} }

 

String Item[String aKey] { __set; }

 

WriteOnly Property Item(aKey As String) As String?

Items

Returns all items.

 

property Items: not nullable ImmutableList<JsonNode> read;

 

ImmutableList<JsonNode>! Items { get; }

 

var Items: ImmutableList<JsonNode> { get{} }

 

ImmutableList<JsonNode> Items { __get; }

 

ReadOnly Property Items() As ImmutableList<JsonNode>

Keys  virtual    (declared in JsonNode)

Returns all keys in this node.

 

property Keys: not nullable IEnumerable<String> read;

 

IEnumerable<String>! Keys { get; }

 

// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var Keys: IEnumerable<String> { get{} }
// Toffee
var Keys: INSFastEnumeration<String> { get{} }

 

Iterable<String> Keys { __get; }

 

ReadOnly Property Keys() As IEnumerable<String>

StringValue  virtual    (declared in JsonNode)

Returns the string representation of this node.

 

property StringValue: String read write;

 

String StringValue { get; set; }

 

var StringValue: String { get{} set{} }

 

String StringValue { __get; __set; }

 

Property StringValue() As String

 

Create (nullable array of JsonNode): nullable JsonArray    (declared in JsonNode)

Create a new array node.

 

class method Create(aValue: nullable array of JsonNode): nullable JsonArray

 

static JsonArray? Create(JsonNode[]? aValue)

 

// Toffee
static func Create(_ aValue: JsonNode...) -> JsonArray
// ToffeeV2
static func Create(_ aValue: JsonNode...?) -> JsonArray?

 

static JsonArray Create(JsonNode[] aValue)

 

Shared Function Create(aValue As JsonNode()?) As JsonArray?

Parameters:

  • aValue:

Create (nullable Boolean): nullable JsonBooleanValue    (declared in JsonNode)

Create a new boolean node.

 

class method Create(aValue: nullable Boolean): nullable JsonBooleanValue

 

static JsonBooleanValue? Create(Boolean? aValue)

 

// Toffee
static func Create(_ aValue: Boolean!) -> JsonBooleanValue
// ToffeeV2
static func Create(_ aValue: Boolean!) -> JsonBooleanValue?

 

static JsonBooleanValue Create(Boolean aValue)

 

Shared Function Create(aValue As Boolean?) As JsonBooleanValue?

Parameters:

  • aValue:

Create (nullable Dictionary<String, JsonNode>): nullable JsonObject    (declared in JsonNode)

Create a new object node.

 

class method Create(aValue: nullable Dictionary<String, JsonNode>): nullable JsonObject

 

static JsonObject? Create(Dictionary<String, JsonNode>? aValue)

 

// Toffee
static func Create(_ aValue: Dictionary<String, JsonNode>) -> JsonObject
// ToffeeV2
static func Create(_ aValue: Dictionary<String, JsonNode>?) -> JsonObject?

 

static JsonObject Create(Dictionary<String, JsonNode> aValue)

 

Shared Function Create(aValue As Dictionary<String, JsonNode>?) As JsonObject?

Parameters:

  • aValue:

Create (nullable Double): nullable JsonFloatValue    (declared in JsonNode)

Create a new double node.

 

class method Create(aValue: nullable Double): nullable JsonFloatValue

 

static JsonFloatValue? Create(Double? aValue)

 

// Toffee
static func Create(_ aValue: Double!) -> JsonFloatValue
// ToffeeV2
static func Create(_ aValue: Double!) -> JsonFloatValue?

 

static JsonFloatValue Create(Double aValue)

 

Shared Function Create(aValue As Double?) As JsonFloatValue?

Parameters:

  • aValue:

Create (nullable Int64): nullable JsonIntegerValue    (declared in JsonNode)

Create a new int64 node.

 

class method Create(aValue: nullable Int64): nullable JsonIntegerValue

 

static JsonIntegerValue? Create(Int64? aValue)

 

// Toffee
static func Create(_ aValue: Int64!) -> JsonIntegerValue
// ToffeeV2
static func Create(_ aValue: Int64!) -> JsonIntegerValue?

 

static JsonIntegerValue Create(Long aValue)

 

Shared Function Create(aValue As Int64?) As JsonIntegerValue?

Parameters:

  • aValue:

Create (nullable List<JsonNode>): nullable JsonArray    (declared in JsonNode)

Create a new array node.

 

class method Create(aValue: nullable List<JsonNode>): nullable JsonArray

 

static JsonArray? Create(List<JsonNode>? aValue)

 

// Toffee
static func Create(_ aValue: List<JsonNode>) -> JsonArray
// ToffeeV2
static func Create(_ aValue: List<JsonNode>?) -> JsonArray?

 

static JsonArray Create(List<JsonNode> aValue)

 

Shared Function Create(aValue As List<JsonNode>?) As JsonArray?

Parameters:

  • aValue:

Create (nullable String): nullable JsonStringValue    (declared in JsonNode)

Create a new string node,.

 

class method Create(aValue: nullable String): nullable JsonStringValue

 

static JsonStringValue? Create(String? aValue)

 

// Toffee
static func Create(_ aValue: String) -> JsonStringValue
// ToffeeV2
static func Create(_ aValue: String?) -> JsonStringValue?

 

static JsonStringValue Create(String aValue)

 

Shared Function Create(aValue As String?) As JsonStringValue?

Parameters:

  • aValue:

Load

Load a json string into this array.

 

class method Load(JsonString: String): not nullable JsonArray

 

static JsonArray! Load(String JsonString)

 

static func Load(_ JsonString: String) -> JsonArray

 

static JsonArray Load(String JsonString)

 

Shared Function Load(JsonString As String) As JsonArray

Parameters:

  • JsonString:

 

constructor .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

 

constructor

 

JsonArray()

 

init()

 

JsonArray()

 

Sub New()

constructor init() Toffee

 

init(init )

Parameters:

  • :

constructor (not nullable ImmutableList<JsonNode>)

 

constructor(aItems: not nullable ImmutableList<JsonNode>)

 

JsonArray(ImmutableList<JsonNode>! aItems)

 

init(_ aItems: ImmutableList<JsonNode>)

 

JsonArray(ImmutableList<JsonNode> aItems)

 

Sub New(aItems As ImmutableList<JsonNode>)

Parameters:

  • aItems:

constructor (not nullable ImmutableList<String>) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2

 

constructor(aItems: not nullable ImmutableList<String>)

 

JsonArray(ImmutableList<String>! aItems)

 

init(_ aItems: ImmutableList<String>)

 

Sub New(aItems As ImmutableList<String>)

Parameters:

  • aItems:

constructor (not nullable array of JsonNode)

 

constructor(params aItems: not nullable array of JsonNode)

 

JsonArray(params JsonNode[]! aItems)

 

init(_ aItems: JsonNode...)

 

JsonArray(JsonNode[]... aItems)

 

Sub New(ParamArray aItems As JsonNode())

Parameters:

  • aItems:

constructor (not nullable array of String)

 

constructor(params aItems: not nullable array of String)

 

JsonArray(params String[]! aItems)

 

init(_ aItems: String...)

 

JsonArray(String[]... aItems)

 

Sub New(ParamArray aItems As String())

Parameters:

  • aItems:

Add (not nullable JsonNode)

Add a new node to the array.

 

method Add(aValue: not nullable JsonNode)

 

void Add(JsonNode! aValue)

 

func Add(_ aValue: JsonNode)

 

void Add(JsonNode aValue)

 

Sub Add(aValue As JsonNode)

Parameters:

  • aValue:

Adds 0 or more json nodes to this array.

 

method Add(aValues: ImmutableList<JsonNode>)

 

void Add(ImmutableList<JsonNode> aValues)

 

func Add(_ aValues: ImmutableList<JsonNode>)

 

void Add(ImmutableList<JsonNode> aValues)

 

Sub Add(aValues As ImmutableList<JsonNode>)

Parameters:

  • aValues:

Adds 0 or more strings to this array.

 

method Add(aValues: ImmutableList<String>)

 

void Add(ImmutableList<String> aValues)

 

func Add(_ aValues: ImmutableList<String>)

 

void Add(ImmutableList<String> aValues)

 

Sub Add(aValues As ImmutableList<String>)

Parameters:

  • aValues:

Add (array of JsonNode)

Adds 0 or more json nodes to this array.

 

method Add(params aValues: array of JsonNode)

 

void Add(params JsonNode[] aValues)

 

func Add(_ aValues: JsonNode...)

 

void Add(JsonNode[]... aValues)

 

Sub Add(ParamArray aValues As JsonNode())

Parameters:

  • aValues:

Add (array of String)

Adds 0 or more strings to this array.

 

method Add(params aValues: array of String)

 

void Add(params String[] aValues)

 

func Add(_ aValues: String...)

 

void Add(String[]... aValues)

 

Sub Add(ParamArray aValues As String())

Parameters:

  • aValues:

Clear .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

Clears this array.

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

 

Sub Clear()

Clear Clear()  virtual Toffee

 

func Clear(Clear )

Parameters:

  • :

description  override    (declared in JsonNode) ToffeeV2

Returns the string representation of this node.

 

func description() -> NSString

description description(): NSString  override    (declared in JsonNode) Toffee

 

func description(description ) -> NSString

Parameters:

  • :

GetEnumerator  virtual .NET, .NET Core 6.0, .NET Standard 2.0, Island

Returns a sequence with the elements in this array.

 

// .NET, .NET Core 6.0, .NET Standard 2.0
method GetEnumerator: IEnumerator<JsonNode>
// Island
method GetEnumerator: IEnumerator<JsonNode>

 

// .NET, .NET Core 6.0, .NET Standard 2.0
IEnumerator<JsonNode> GetEnumerator()
// Island
IEnumerator<JsonNode> GetEnumerator()

 

// .NET, .NET Core 6.0, .NET Standard 2.0
func GetEnumerator() -> IEnumerator<JsonNode>
// Island
func GetEnumerator() -> IEnumerator<JsonNode>

 

// .NET, .NET Core 6.0, .NET Standard 2.0
Function GetEnumerator() As IEnumerator<JsonNode>
// Island
Function GetEnumerator() As IEnumerator<JsonNode>

GetSequence .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

Returns a sequence with the elements in this array.

 

method GetSequence: IEnumerable<JsonNode>

 

IEnumerable<JsonNode> GetSequence()

 

func GetSequence() -> IEnumerable<JsonNode>

 

Iterable<JsonNode> GetSequence()

 

Function GetSequence() As IEnumerable<JsonNode>

GetSequence GetSequence(): INSFastEnumeration<JsonNode>  virtual Toffee

 

func GetSequence(GetSequence ) -> INSFastEnumeration<JsonNode>

Parameters:

  • :

Insert

insert an item at a given position.

 

method Insert(aIndex: Int32; aValue: not nullable JsonNode)

 

void Insert(Int32 aIndex, JsonNode! aValue)

 

func Insert(_ aIndex: Int32, _ aValue: JsonNode)

 

void Insert(Integer aIndex, JsonNode aValue)

 

Sub Insert(aIndex As Int32, aValue As JsonNode)

Parameters:

  • aIndex:
  • aValue:

iterator Cooper

Returns a sequence with the elements in this array.

 

method iterator: Iterator<JsonNode>

 

Iterator<JsonNode> iterator()

 

func iterator() -> Iterator<JsonNode>

 

Iterator<JsonNode> iterator()

 

Function iterator() As Iterator<JsonNode>

RemoveAt

Returns an item at a given position.

 

method RemoveAt(aIndex: Int32)

 

void RemoveAt(Int32 aIndex)

 

func RemoveAt(_ aIndex: Int32)

 

void RemoveAt(Integer aIndex)

 

Sub RemoveAt(aIndex As Int32)

Parameters:

  • aIndex:

ToJson  override

 

method ToJson(aFormat: JsonFormat): String

 

String ToJson(JsonFormat aFormat)

 

func ToJson(_ aFormat: JsonFormat) -> String

 

String ToJson(JsonFormat aFormat)

 

Function ToJson(aFormat As JsonFormat) As String

Parameters:

  • aFormat:

toString    (declared in JsonNode) Cooper

 

method toString: PlatformString

 

PlatformString toString()

 

func toString() -> PlatformString

 

PlatformString toString()

 

Function toString() As PlatformString

ToString  virtual    (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2

Returns the string representation of this node.

 

method ToString: PlatformString

 

PlatformString ToString()

 

func ToString() -> String

 

Function ToString() As PlatformString

ToString ToString(): String  virtual    (declared in JsonNode) Toffee

 

func ToString(ToString ) -> String

Parameters:

  • :

ToStringList .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

Converts this array to a string list.

 

method ToStringList: not nullable ImmutableList<String>

 

ImmutableList<String>! ToStringList()

 

func ToStringList() -> ImmutableList<String>

 

ImmutableList<String> ToStringList()

 

Function ToStringList() As ImmutableList<String>

ToStringList ToStringList(): not nullable ImmutableList<String>  virtual Toffee

 

func ToStringList(ToStringList ) -> ImmutableList<String>

Parameters:

  • :

ToStrings .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

Converts this array to a string list.

 

method ToStrings: not nullable IEnumerable<String>

 

IEnumerable<String>! ToStrings()

 

func ToStrings() -> IEnumerable<String>

 

Iterable<String> ToStrings()

 

Function ToStrings() As IEnumerable<String>

ToStrings ToStrings(): not nullable INSFastEnumeration<String>  virtual Toffee

 

func ToStrings(ToStrings ) -> INSFastEnumeration<String>

Parameters:

  • :