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

 

constructor

 

JsonArray()

 

init()

 

JsonArray()

 

Sub New()

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 IEnumerable<JsonNode>)

 

constructor(aItems: not nullable IEnumerable<JsonNode>)

 

JsonArray(IEnumerable<JsonNode>! aItems)

 

// Toffee
init(_ aItems: INSFastEnumeration<JsonNode>)
// ToffeeV2
init(_ aItems: IEnumerable<JsonNode>)

 

JsonArray(Iterable<JsonNode> aItems)

 

Sub New(aItems As IEnumerable<JsonNode>)

Parameters:

  • aItems:

constructor (not nullable IEnumerable<String>)

 

constructor(aItems: not nullable IEnumerable<String>)

 

JsonArray(IEnumerable<String>! aItems)

 

// Toffee
init(_ aItems: INSFastEnumeration<String>)
// ToffeeV2
init(_ aItems: IEnumerable<String>)

 

JsonArray(Iterable<String> aItems)

 

Sub New(aItems As IEnumerable<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:

constructor withCapacity(Int32)

 

constructor withCapacity(aCapacity: Int32)

 

JsonArray withCapacity(Int32 aCapacity)

 

init(capacity aCapacity: Int32)

 

JsonArray withCapacity(Integer aCapacity)

 

Sub New withCapacity(aCapacity As Int32)

Parameters:

  • aCapacity:

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:

Add (nullable ImmutableList<JsonNode>)

Adds 0 or more json nodes to this array.

 

method Add(aValues: nullable ImmutableList<JsonNode>)

 

void Add(ImmutableList<JsonNode>? aValues)

 

// Toffee
func Add(_ aValues: ImmutableList<JsonNode>)
// ToffeeV2
func Add(_ aValues: ImmutableList<JsonNode>?)

 

void Add(ImmutableList<JsonNode> aValues)

 

Sub Add(aValues As ImmutableList<JsonNode>?)

Parameters:

  • aValues:

Add (INSFastEnumeration<String>) Toffee, ToffeeV2

 

// Toffee
func Add(_ aValues: INSFastEnumeration<String>)
// ToffeeV2
func Add(_ aValues: IEnumerable<String>)

Parameters:

  • aValues:

Add (IEnumerable<String>) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island

 

method Add(params aValues: IEnumerable<String>)

 

void Add(params IEnumerable<String> aValues)

 

func Add(_ aValues: IEnumerable<String>...)

 

void Add(Iterable<String>... aValues)

 

Sub Add(ParamArray aValues As IEnumerable<String>)

Parameters:

  • aValues:

Any  override

 

method Any(aName: not nullable String): IEnumerable<JsonNode>

 

IEnumerable<JsonNode> Any(String! aName)

 

// Toffee
func Any(_ aName: String) -> INSFastEnumeration<JsonNode>
// ToffeeV2
func Any(_ aName: String) -> IEnumerable<JsonNode>

 

Iterable<JsonNode> Any(String aName)

 

Function Any(aName As String) As IEnumerable<JsonNode>

Parameters:

  • aName:

BooleanValue  virtual    (declared in JsonNode)

 

property BooleanValue: Boolean read;

 

Boolean BooleanValue { get; }

 

var BooleanValue: Boolean { get{} }

 

Boolean BooleanValue { __get; }

 

ReadOnly Property BooleanValue() As Boolean

Clear

Clears this array.

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

 

Sub Clear()

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

countByEnumeratingWithState  virtual    (declared in JsonNode) Toffee, ToffeeV2

 

func countByEnumeratingWithState(_ aState: UnsafeMutablePointer<NSFastEnumerationState>, objects stackbuf: UnsafeMutablePointer<JsonNode>, count len: NSUInteger) -> NSUInteger

Parameters:

  • aState:
  • stackbuf:
  • len:

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:

CreateArray    (declared in JsonNode)

 

class method CreateArray: not nullable JsonArray

 

static JsonArray! CreateArray()

 

static func CreateArray() -> JsonArray

 

static JsonArray CreateArray()

 

Shared Function CreateArray() As JsonArray

CreateDocument    (declared in JsonNode)

 

class method CreateDocument: not nullable JsonObject

 

static JsonObject! CreateDocument()

 

static func CreateDocument() -> JsonObject

 

static JsonObject CreateDocument()

 

Shared Function CreateDocument() As JsonObject

CreateObject    (declared in JsonNode)

 

class method CreateObject: not nullable JsonObject

 

static JsonObject! CreateObject()

 

static func CreateObject() -> JsonObject

 

static JsonObject CreateObject()

 

Shared Function CreateObject() As JsonObject

description  override    (declared in JsonNode) Toffee, ToffeeV2

Returns the string representation of this node.

 

func description() -> NSString

FloatValue  virtual    (declared in JsonNode)

 

property FloatValue: Double read;

 

Double FloatValue { get; }

 

var FloatValue: Double { get{} }

 

Double FloatValue { __get; }

 

ReadOnly Property FloatValue() As Double

FromBinary    (declared in JsonNode)

 

class method FromBinary(aBinary: not nullable ImmutableBinary; aEncoding: Encoding := nil): not nullable JsonDocument

 

static JsonDocument! FromBinary(ImmutableBinary! aBinary, Encoding aEncoding = null)

 

static func FromBinary(_ aBinary: ImmutableBinary, _ aEncoding: Encoding = nil) -> JsonDocument

 

static JsonDocument FromBinary(ImmutableBinary aBinary, Encoding aEncoding)

 

Shared Function FromBinary(aBinary As ImmutableBinary, aEncoding As Encoding = Null) As JsonDocument

Parameters:

  • aBinary:
  • aEncoding:

FromBytes    (declared in JsonNode)

 

class method FromBytes(aBinary: not nullable array of Byte; aEncoding: Encoding := nil): not nullable JsonDocument

 

static JsonDocument! FromBytes(Byte[]! aBinary, Encoding aEncoding = null)

 

static func FromBytes(_ aBinary: Byte..., _ aEncoding: Encoding = nil) -> JsonDocument

 

static JsonDocument FromBytes(Byte[] aBinary, Encoding aEncoding)

 

Shared Function FromBytes(aBinary As Byte(), aEncoding As Encoding = Null) As JsonDocument

Parameters:

  • aBinary:
  • aEncoding:

FromFile    (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

class method FromFile(aFile: not nullable File): not nullable JsonDocument

 

static JsonDocument! FromFile(File! aFile)

 

static func FromFile(_ aFile: File) -> JsonDocument

 

static JsonDocument FromFile(File aFile)

 

Shared Function FromFile(aFile As File) As JsonDocument

Parameters:

  • aFile:

FromString    (declared in JsonNode)

 

class method FromString(aString: not nullable String): not nullable JsonDocument

 

static JsonDocument! FromString(String! aString)

 

static func FromString(_ aString: String) -> JsonDocument

 

static JsonDocument FromString(String aString)

 

Shared Function FromString(aString As String) As JsonDocument

Parameters:

  • aString:

FromUrl    (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

class method FromUrl(aUrl: not nullable Url): not nullable JsonDocument

 

static JsonDocument! FromUrl(Url! aUrl)

 

static func FromUrl(_ aUrl: Url) -> JsonDocument

 

static JsonDocument FromUrl(Url aUrl)

 

Shared Function FromUrl(aUrl As Url) As JsonDocument

Parameters:

  • aUrl:

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

Returns a sequence with the elements in this array.

 

method GetEnumerator: IEnumerator<JsonNode>

 

IEnumerator<JsonNode> GetEnumerator()

 

func GetEnumerator() -> IEnumerator<JsonNode>

 

Function GetEnumerator() As IEnumerator<JsonNode>

GetSequence  override

Returns a sequence with the elements in this array.

 

method GetSequence: IEnumerable<JsonNode>

 

IEnumerable<JsonNode> GetSequence()

 

// Toffee
func GetSequence() -> INSFastEnumeration<JsonNode>
// ToffeeV2
func GetSequence() -> IEnumerable<JsonNode>

 

Iterable<JsonNode> GetSequence()

 

Function GetSequence() As IEnumerable<JsonNode>

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)

 

property IntegerValue: Int64 read;

 

Int64 IntegerValue { get; }

 

var IntegerValue: Int64 { get{} }

 

Int64 IntegerValue { __get; }

 

ReadOnly 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)

 

property Item[aKey: not nullable String]: nullable array of 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()?

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:

NodeKind  override

 

property NodeKind: JsonNodeKind read;

 

JsonNodeKind NodeKind { get; }

 

var NodeKind: JsonNodeKind { get{} }

 

JsonNodeKind NodeKind { __get; }

 

ReadOnly Property NodeKind() As JsonNodeKind

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:

Replace (JsonNode, JsonNode)

 

method Replace(aOldValue: JsonNode; aNewValue: JsonNode)

 

void Replace(JsonNode aOldValue, JsonNode aNewValue)

 

func Replace(_ aOldValue: JsonNode, _ aNewValue: JsonNode)

 

void Replace(JsonNode aOldValue, JsonNode aNewValue)

 

Sub Replace(aOldValue As JsonNode, aNewValue As JsonNode)

Parameters:

  • aOldValue:
  • aNewValue:

Replace (String, String)

 

method Replace(aOldValue: String; aNewValue: String)

 

void Replace(String aOldValue, String aNewValue)

 

func Replace(_ aOldValue: String, _ aNewValue: String)

 

void Replace(String aOldValue, String aNewValue)

 

Sub Replace(aOldValue As String, aNewValue As String)

Parameters:

  • aOldValue:
  • aNewValue:

Root    (declared in JsonNode)

 

property Root: not nullable JsonNode read;

 

JsonNode! Root { get; }

 

var Root: JsonNode { get{} }

 

JsonNode Root { __get; }

 

ReadOnly Property Root() As JsonNode

SaveToFile (not nullable File)    (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

method SaveToFile(aFileName: not nullable File)

 

void SaveToFile(File! aFileName)

 

func SaveToFile(_ aFileName: File)

 

void SaveToFile(File aFileName)

 

Sub SaveToFile(aFileName As File)

Parameters:

  • aFileName:

SaveToFile (not nullable File, JsonFormat, Encoding, Boolean)    (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

method SaveToFile(aFileName: not nullable File; aFormat: JsonFormat; aEncoding: Encoding := nil; aIncludeBOM: Boolean := false)

 

void SaveToFile(File! aFileName, JsonFormat aFormat, Encoding aEncoding = null, Boolean aIncludeBOM = false)

 

func SaveToFile(_ aFileName: File, _ aFormat: JsonFormat, _ aEncoding: Encoding = nil, _ aIncludeBOM: Boolean = false)

 

void SaveToFile(File aFileName, JsonFormat aFormat, Encoding aEncoding, Boolean aIncludeBOM)

 

Sub SaveToFile(aFileName As File, aFormat As JsonFormat, aEncoding As Encoding = Null, aIncludeBOM As Boolean = false)

Parameters:

  • aFileName:
  • aFormat:
  • aEncoding:
  • aIncludeBOM:

StringValue  virtual    (declared in JsonNode)

 

property StringValue: String read;

 

String StringValue { get; }

 

var StringValue: String { get{} }

 

String StringValue { __get; }

 

ReadOnly Property StringValue() As String

ToJsonBinary    (declared in JsonNode)

 

// .NET, .NET Core 6.0, .NET Standard 2.0
method ToJsonBinary(aFormat: JsonFormat := JsonFormat.Minimal; aEncoding: Encoding := nil; aIncludeBOM: Boolean := false): not nullable ImmutableBinary
// Island
method ToJsonBinary(aFormat: JsonFormat := JsonFormat.Minimal; aEncoding: Encoding; aIncludeBOM: Boolean := false): not nullable ImmutableBinary

 

// .NET, .NET Core 6.0, .NET Standard 2.0
ImmutableBinary! ToJsonBinary(JsonFormat aFormat = JsonFormat.Minimal, Encoding aEncoding = null, Boolean aIncludeBOM = false)
// Island
ImmutableBinary! ToJsonBinary(JsonFormat aFormat = JsonFormat.Minimal, Encoding aEncoding, Boolean aIncludeBOM = false)

 

func ToJsonBinary(_ aFormat: JsonFormat = JsonFormat.Minimal, _ aEncoding: Encoding, _ aIncludeBOM: Boolean = false) -> ImmutableBinary

 

ImmutableBinary ToJsonBinary(JsonFormat aFormat, Encoding aEncoding, Boolean aIncludeBOM)

 

// .NET, .NET Core 6.0, .NET Standard 2.0
Function ToJsonBinary(aFormat As JsonFormat = JsonFormat.Minimal, aEncoding As Encoding = Null, aIncludeBOM As Boolean = false) As ImmutableBinary
// Island
Function ToJsonBinary(aFormat As JsonFormat = JsonFormat.Minimal, aEncoding As Encoding, aIncludeBOM As Boolean = false) As ImmutableBinary

Parameters:

  • aFormat:
  • aEncoding:
  • aIncludeBOM:

ToJsonBytes    (declared in JsonNode)

 

// .NET, .NET Core 6.0, .NET Standard 2.0
method ToJsonBytes(aFormat: JsonFormat := JsonFormat.Minimal; aEncoding: Encoding := nil; aIncludeBOM: Boolean := false): not nullable array of Byte
// Island
method ToJsonBytes(aFormat: JsonFormat := JsonFormat.Minimal; aEncoding: Encoding; aIncludeBOM: Boolean := false): not nullable array of Byte

 

// .NET, .NET Core 6.0, .NET Standard 2.0
Byte[]! ToJsonBytes(JsonFormat aFormat = JsonFormat.Minimal, Encoding aEncoding = null, Boolean aIncludeBOM = false)
// Island
Byte[]! ToJsonBytes(JsonFormat aFormat = JsonFormat.Minimal, Encoding aEncoding, Boolean aIncludeBOM = false)

 

func ToJsonBytes(_ aFormat: JsonFormat = JsonFormat.Minimal, _ aEncoding: Encoding, _ aIncludeBOM: Boolean = false) -> Byte...

 

Byte[] ToJsonBytes(JsonFormat aFormat, Encoding aEncoding, Boolean aIncludeBOM)

 

// .NET, .NET Core 6.0, .NET Standard 2.0
Function ToJsonBytes(aFormat As JsonFormat = JsonFormat.Minimal, aEncoding As Encoding = Null, aIncludeBOM As Boolean = false) As Byte()
// Island
Function ToJsonBytes(aFormat As JsonFormat = JsonFormat.Minimal, aEncoding As Encoding, aIncludeBOM As Boolean = false) As Byte()

Parameters:

  • aFormat:
  • aEncoding:
  • aIncludeBOM:

ToJsonString  override

 

method ToJsonString(aFormat: JsonFormat := JsonFormat.HumanReadable): not nullable String

 

String! ToJsonString(JsonFormat aFormat = JsonFormat.HumanReadable)

 

func ToJsonString(_ aFormat: JsonFormat = JsonFormat.HumanReadable) -> String

 

String ToJsonString(JsonFormat aFormat)

 

Function ToJsonString(aFormat As JsonFormat = JsonFormat.HumanReadable) 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, Toffee, ToffeeV2

Returns the string representation of this node.

 

method ToString: PlatformString

 

PlatformString ToString()

 

func ToString() -> String

 

Function ToString() As PlatformString

ToStringList

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>

ToStrings

Converts this array to a string list.

 

method ToStrings: not nullable IEnumerable<String>

 

IEnumerable<String>! ToStrings()

 

// Toffee
func ToStrings() -> INSFastEnumeration<String>
// ToffeeV2
func ToStrings() -> IEnumerable<String>

 

Iterable<String> ToStrings()

 

Function ToStrings() As IEnumerable<String>

TryFromBinary (nullable ImmutableBinary, Encoding): nullable JsonDocument    (declared in JsonNode)

 

class method TryFromBinary(aBinary: nullable ImmutableBinary; aEncoding: Encoding := nil): nullable JsonDocument

 

static JsonDocument? TryFromBinary(ImmutableBinary? aBinary, Encoding aEncoding = null)

 

// Toffee
static func TryFromBinary(_ aBinary: ImmutableBinary, _ aEncoding: Encoding = nil) -> JsonDocument
// ToffeeV2
static func TryFromBinary(_ aBinary: ImmutableBinary?, _ aEncoding: Encoding = nil) -> JsonDocument?

 

static JsonDocument TryFromBinary(ImmutableBinary aBinary, Encoding aEncoding)

 

Shared Function TryFromBinary(aBinary As ImmutableBinary?, aEncoding As Encoding = Null) As JsonDocument?

Parameters:

  • aBinary:
  • aEncoding:

TryFromBinary (nullable ImmutableBinary, Encoding, Exception): nullable JsonDocument    (declared in JsonNode)

 

class method TryFromBinary(aBinary: nullable ImmutableBinary; aEncoding: Encoding := nil; out aException: Exception): nullable JsonDocument

 

static JsonDocument? TryFromBinary(ImmutableBinary? aBinary, Encoding aEncoding = null, out Exception aException)

 

// Toffee
static func TryFromBinary(_ aBinary: ImmutableBinary, _ aEncoding: Encoding = nil, _ aException: inout Exception) -> JsonDocument
// ToffeeV2
static func TryFromBinary(_ aBinary: ImmutableBinary?, _ aEncoding: Encoding = nil, _ aException: inout Exception) -> JsonDocument?

 

static JsonDocument TryFromBinary(ImmutableBinary aBinary, Encoding aEncoding, __out Exception aException)

 

Shared Function TryFromBinary(aBinary As ImmutableBinary?, aEncoding As Encoding = Null, <OutAttribute> ByRef aException As Exception) As JsonDocument?

Parameters:

  • aBinary:
  • aEncoding:
  • aException:

TryFromBytes (nullable array of Byte, Encoding): nullable JsonDocument    (declared in JsonNode)

 

class method TryFromBytes(aBinary: nullable array of Byte; aEncoding: Encoding := nil): nullable JsonDocument

 

static JsonDocument? TryFromBytes(Byte[]? aBinary, Encoding aEncoding = null)

 

// Toffee
static func TryFromBytes(_ aBinary: Byte..., _ aEncoding: Encoding = nil) -> JsonDocument
// ToffeeV2
static func TryFromBytes(_ aBinary: Byte...?, _ aEncoding: Encoding = nil) -> JsonDocument?

 

static JsonDocument TryFromBytes(Byte[] aBinary, Encoding aEncoding)

 

Shared Function TryFromBytes(aBinary As Byte()?, aEncoding As Encoding = Null) As JsonDocument?

Parameters:

  • aBinary:
  • aEncoding:

TryFromBytes (nullable array of Byte, Encoding, Exception): nullable JsonDocument    (declared in JsonNode)

 

class method TryFromBytes(aBinary: nullable array of Byte; aEncoding: Encoding := nil; out aException: Exception): nullable JsonDocument

 

static JsonDocument? TryFromBytes(Byte[]? aBinary, Encoding aEncoding = null, out Exception aException)

 

// Toffee
static func TryFromBytes(_ aBinary: Byte..., _ aEncoding: Encoding = nil, _ aException: inout Exception) -> JsonDocument
// ToffeeV2
static func TryFromBytes(_ aBinary: Byte...?, _ aEncoding: Encoding = nil, _ aException: inout Exception) -> JsonDocument?

 

static JsonDocument TryFromBytes(Byte[] aBinary, Encoding aEncoding, __out Exception aException)

 

Shared Function TryFromBytes(aBinary As Byte()?, aEncoding As Encoding = Null, <OutAttribute> ByRef aException As Exception) As JsonDocument?

Parameters:

  • aBinary:
  • aEncoding:
  • aException:

TryFromFile (not nullable File): nullable JsonDocument    (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

class method TryFromFile(aFile: not nullable File): nullable JsonDocument

 

static JsonDocument? TryFromFile(File! aFile)

 

// Toffee
static func TryFromFile(_ aFile: File) -> JsonDocument
// ToffeeV2
static func TryFromFile(_ aFile: File) -> JsonDocument?

 

static JsonDocument TryFromFile(File aFile)

 

Shared Function TryFromFile(aFile As File) As JsonDocument?

Parameters:

  • aFile:

TryFromFile (not nullable File, Exception): nullable JsonDocument    (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

class method TryFromFile(aFile: not nullable File; out aException: Exception): nullable JsonDocument

 

static JsonDocument? TryFromFile(File! aFile, out Exception aException)

 

// Toffee
static func TryFromFile(_ aFile: File, _ aException: inout Exception) -> JsonDocument
// ToffeeV2
static func TryFromFile(_ aFile: File, _ aException: inout Exception) -> JsonDocument?

 

static JsonDocument TryFromFile(File aFile, __out Exception aException)

 

Shared Function TryFromFile(aFile As File, <OutAttribute> ByRef aException As Exception) As JsonDocument?

Parameters:

  • aFile:
  • aException:

TryFromString (nullable String): nullable JsonDocument    (declared in JsonNode)

 

class method TryFromString(aString: nullable String): nullable JsonDocument

 

static JsonDocument? TryFromString(String? aString)

 

// Toffee
static func TryFromString(_ aString: String) -> JsonDocument
// ToffeeV2
static func TryFromString(_ aString: String?) -> JsonDocument?

 

static JsonDocument TryFromString(String aString)

 

Shared Function TryFromString(aString As String?) As JsonDocument?

Parameters:

  • aString:

TryFromString (nullable String, Exception): nullable JsonDocument    (declared in JsonNode)

 

class method TryFromString(aString: nullable String; out aException: Exception): nullable JsonDocument

 

static JsonDocument? TryFromString(String? aString, out Exception aException)

 

// Toffee
static func TryFromString(_ aString: String, _ aException: inout Exception) -> JsonDocument
// ToffeeV2
static func TryFromString(_ aString: String?, _ aException: inout Exception) -> JsonDocument?

 

static JsonDocument TryFromString(String aString, __out Exception aException)

 

Shared Function TryFromString(aString As String?, <OutAttribute> ByRef aException As Exception) As JsonDocument?

Parameters:

  • aString:
  • aException:

TryFromUrl (not nullable Url): nullable JsonDocument    (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

class method TryFromUrl(aUrl: not nullable Url): nullable JsonDocument

 

static JsonDocument? TryFromUrl(Url! aUrl)

 

// Toffee
static func TryFromUrl(_ aUrl: Url) -> JsonDocument
// ToffeeV2
static func TryFromUrl(_ aUrl: Url) -> JsonDocument?

 

static JsonDocument TryFromUrl(Url aUrl)

 

Shared Function TryFromUrl(aUrl As Url) As JsonDocument?

Parameters:

  • aUrl:

TryFromUrl (not nullable Url, Exception): nullable JsonDocument    (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

class method TryFromUrl(aUrl: not nullable Url; out aException: Exception): nullable JsonDocument

 

static JsonDocument? TryFromUrl(Url! aUrl, out Exception aException)

 

// Toffee
static func TryFromUrl(_ aUrl: Url, _ aException: inout Exception) -> JsonDocument
// ToffeeV2
static func TryFromUrl(_ aUrl: Url, _ aException: inout Exception) -> JsonDocument?

 

static JsonDocument TryFromUrl(Url aUrl, __out Exception aException)

 

Shared Function TryFromUrl(aUrl As Url, <OutAttribute> ByRef aException As Exception) As JsonDocument?

Parameters:

  • aUrl:
  • aException:

UniqueCopy  override

 

// .NET, .NET Core 6.0, .NET Standard 2.0
method UniqueCopy: InstanceType
// Island
method UniqueCopy: instancetype

 

// .NET, .NET Core 6.0, .NET Standard 2.0
InstanceType UniqueCopy()
// Island
instancetype UniqueCopy()

 

func UniqueCopy() -> instancetype

 

instancetype UniqueCopy()

 

// .NET, .NET Core 6.0, .NET Standard 2.0
Function UniqueCopy() As InstanceType
// Island
Function UniqueCopy() As instancetype

 

BooleanValue  virtual    (declared in JsonNode)

 

property BooleanValue: Boolean read;

 

Boolean BooleanValue { get; }

 

var BooleanValue: Boolean { get{} }

 

Boolean BooleanValue { __get; }

 

ReadOnly 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)

 

property FloatValue: Double read;

 

Double FloatValue { get; }

 

var FloatValue: Double { get{} }

 

Double FloatValue { __get; }

 

ReadOnly Property FloatValue() As Double

IntegerValue  virtual    (declared in JsonNode)

 

property IntegerValue: Int64 read;

 

Int64 IntegerValue { get; }

 

var IntegerValue: Int64 { get{} }

 

Int64 IntegerValue { __get; }

 

ReadOnly 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)

 

property Item[aKey: not nullable String]: nullable array of 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()?

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>

NodeKind  override

 

property NodeKind: JsonNodeKind read;

 

JsonNodeKind NodeKind { get; }

 

var NodeKind: JsonNodeKind { get{} }

 

JsonNodeKind NodeKind { __get; }

 

ReadOnly Property NodeKind() As JsonNodeKind

Root    (declared in JsonNode)

 

property Root: not nullable JsonNode read;

 

JsonNode! Root { get; }

 

var Root: JsonNode { get{} }

 

JsonNode Root { __get; }

 

ReadOnly Property Root() As JsonNode

StringValue  virtual    (declared in JsonNode)

 

property StringValue: String read;

 

String StringValue { get; }

 

var StringValue: String { get{} }

 

String StringValue { __get; }

 

ReadOnly 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:

CreateArray    (declared in JsonNode)

 

class method CreateArray: not nullable JsonArray

 

static JsonArray! CreateArray()

 

static func CreateArray() -> JsonArray

 

static JsonArray CreateArray()

 

Shared Function CreateArray() As JsonArray

CreateDocument    (declared in JsonNode)

 

class method CreateDocument: not nullable JsonObject

 

static JsonObject! CreateDocument()

 

static func CreateDocument() -> JsonObject

 

static JsonObject CreateDocument()

 

Shared Function CreateDocument() As JsonObject

CreateObject    (declared in JsonNode)

 

class method CreateObject: not nullable JsonObject

 

static JsonObject! CreateObject()

 

static func CreateObject() -> JsonObject

 

static JsonObject CreateObject()

 

Shared Function CreateObject() As JsonObject

FromBinary    (declared in JsonNode)

 

class method FromBinary(aBinary: not nullable ImmutableBinary; aEncoding: Encoding := nil): not nullable JsonDocument

 

static JsonDocument! FromBinary(ImmutableBinary! aBinary, Encoding aEncoding = null)

 

static func FromBinary(_ aBinary: ImmutableBinary, _ aEncoding: Encoding = nil) -> JsonDocument

 

static JsonDocument FromBinary(ImmutableBinary aBinary, Encoding aEncoding)

 

Shared Function FromBinary(aBinary As ImmutableBinary, aEncoding As Encoding = Null) As JsonDocument

Parameters:

  • aBinary:
  • aEncoding:

FromBytes    (declared in JsonNode)

 

class method FromBytes(aBinary: not nullable array of Byte; aEncoding: Encoding := nil): not nullable JsonDocument

 

static JsonDocument! FromBytes(Byte[]! aBinary, Encoding aEncoding = null)

 

static func FromBytes(_ aBinary: Byte..., _ aEncoding: Encoding = nil) -> JsonDocument

 

static JsonDocument FromBytes(Byte[] aBinary, Encoding aEncoding)

 

Shared Function FromBytes(aBinary As Byte(), aEncoding As Encoding = Null) As JsonDocument

Parameters:

  • aBinary:
  • aEncoding:

FromFile    (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

class method FromFile(aFile: not nullable File): not nullable JsonDocument

 

static JsonDocument! FromFile(File! aFile)

 

static func FromFile(_ aFile: File) -> JsonDocument

 

static JsonDocument FromFile(File aFile)

 

Shared Function FromFile(aFile As File) As JsonDocument

Parameters:

  • aFile:

FromString    (declared in JsonNode)

 

class method FromString(aString: not nullable String): not nullable JsonDocument

 

static JsonDocument! FromString(String! aString)

 

static func FromString(_ aString: String) -> JsonDocument

 

static JsonDocument FromString(String aString)

 

Shared Function FromString(aString As String) As JsonDocument

Parameters:

  • aString:

FromUrl    (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

class method FromUrl(aUrl: not nullable Url): not nullable JsonDocument

 

static JsonDocument! FromUrl(Url! aUrl)

 

static func FromUrl(_ aUrl: Url) -> JsonDocument

 

static JsonDocument FromUrl(Url aUrl)

 

Shared Function FromUrl(aUrl As Url) As JsonDocument

Parameters:

  • aUrl:

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:

TryFromBinary (nullable ImmutableBinary, Encoding): nullable JsonDocument    (declared in JsonNode)

 

class method TryFromBinary(aBinary: nullable ImmutableBinary; aEncoding: Encoding := nil): nullable JsonDocument

 

static JsonDocument? TryFromBinary(ImmutableBinary? aBinary, Encoding aEncoding = null)

 

// Toffee
static func TryFromBinary(_ aBinary: ImmutableBinary, _ aEncoding: Encoding = nil) -> JsonDocument
// ToffeeV2
static func TryFromBinary(_ aBinary: ImmutableBinary?, _ aEncoding: Encoding = nil) -> JsonDocument?

 

static JsonDocument TryFromBinary(ImmutableBinary aBinary, Encoding aEncoding)

 

Shared Function TryFromBinary(aBinary As ImmutableBinary?, aEncoding As Encoding = Null) As JsonDocument?

Parameters:

  • aBinary:
  • aEncoding:

TryFromBinary (nullable ImmutableBinary, Encoding, Exception): nullable JsonDocument    (declared in JsonNode)

 

class method TryFromBinary(aBinary: nullable ImmutableBinary; aEncoding: Encoding := nil; out aException: Exception): nullable JsonDocument

 

static JsonDocument? TryFromBinary(ImmutableBinary? aBinary, Encoding aEncoding = null, out Exception aException)

 

// Toffee
static func TryFromBinary(_ aBinary: ImmutableBinary, _ aEncoding: Encoding = nil, _ aException: inout Exception) -> JsonDocument
// ToffeeV2
static func TryFromBinary(_ aBinary: ImmutableBinary?, _ aEncoding: Encoding = nil, _ aException: inout Exception) -> JsonDocument?

 

static JsonDocument TryFromBinary(ImmutableBinary aBinary, Encoding aEncoding, __out Exception aException)

 

Shared Function TryFromBinary(aBinary As ImmutableBinary?, aEncoding As Encoding = Null, <OutAttribute> ByRef aException As Exception) As JsonDocument?

Parameters:

  • aBinary:
  • aEncoding:
  • aException:

TryFromBytes (nullable array of Byte, Encoding): nullable JsonDocument    (declared in JsonNode)

 

class method TryFromBytes(aBinary: nullable array of Byte; aEncoding: Encoding := nil): nullable JsonDocument

 

static JsonDocument? TryFromBytes(Byte[]? aBinary, Encoding aEncoding = null)

 

// Toffee
static func TryFromBytes(_ aBinary: Byte..., _ aEncoding: Encoding = nil) -> JsonDocument
// ToffeeV2
static func TryFromBytes(_ aBinary: Byte...?, _ aEncoding: Encoding = nil) -> JsonDocument?

 

static JsonDocument TryFromBytes(Byte[] aBinary, Encoding aEncoding)

 

Shared Function TryFromBytes(aBinary As Byte()?, aEncoding As Encoding = Null) As JsonDocument?

Parameters:

  • aBinary:
  • aEncoding:

TryFromBytes (nullable array of Byte, Encoding, Exception): nullable JsonDocument    (declared in JsonNode)

 

class method TryFromBytes(aBinary: nullable array of Byte; aEncoding: Encoding := nil; out aException: Exception): nullable JsonDocument

 

static JsonDocument? TryFromBytes(Byte[]? aBinary, Encoding aEncoding = null, out Exception aException)

 

// Toffee
static func TryFromBytes(_ aBinary: Byte..., _ aEncoding: Encoding = nil, _ aException: inout Exception) -> JsonDocument
// ToffeeV2
static func TryFromBytes(_ aBinary: Byte...?, _ aEncoding: Encoding = nil, _ aException: inout Exception) -> JsonDocument?

 

static JsonDocument TryFromBytes(Byte[] aBinary, Encoding aEncoding, __out Exception aException)

 

Shared Function TryFromBytes(aBinary As Byte()?, aEncoding As Encoding = Null, <OutAttribute> ByRef aException As Exception) As JsonDocument?

Parameters:

  • aBinary:
  • aEncoding:
  • aException:

TryFromFile (not nullable File): nullable JsonDocument    (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

class method TryFromFile(aFile: not nullable File): nullable JsonDocument

 

static JsonDocument? TryFromFile(File! aFile)

 

// Toffee
static func TryFromFile(_ aFile: File) -> JsonDocument
// ToffeeV2
static func TryFromFile(_ aFile: File) -> JsonDocument?

 

static JsonDocument TryFromFile(File aFile)

 

Shared Function TryFromFile(aFile As File) As JsonDocument?

Parameters:

  • aFile:

TryFromFile (not nullable File, Exception): nullable JsonDocument    (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

class method TryFromFile(aFile: not nullable File; out aException: Exception): nullable JsonDocument

 

static JsonDocument? TryFromFile(File! aFile, out Exception aException)

 

// Toffee
static func TryFromFile(_ aFile: File, _ aException: inout Exception) -> JsonDocument
// ToffeeV2
static func TryFromFile(_ aFile: File, _ aException: inout Exception) -> JsonDocument?

 

static JsonDocument TryFromFile(File aFile, __out Exception aException)

 

Shared Function TryFromFile(aFile As File, <OutAttribute> ByRef aException As Exception) As JsonDocument?

Parameters:

  • aFile:
  • aException:

TryFromString (nullable String): nullable JsonDocument    (declared in JsonNode)

 

class method TryFromString(aString: nullable String): nullable JsonDocument

 

static JsonDocument? TryFromString(String? aString)

 

// Toffee
static func TryFromString(_ aString: String) -> JsonDocument
// ToffeeV2
static func TryFromString(_ aString: String?) -> JsonDocument?

 

static JsonDocument TryFromString(String aString)

 

Shared Function TryFromString(aString As String?) As JsonDocument?

Parameters:

  • aString:

TryFromString (nullable String, Exception): nullable JsonDocument    (declared in JsonNode)

 

class method TryFromString(aString: nullable String; out aException: Exception): nullable JsonDocument

 

static JsonDocument? TryFromString(String? aString, out Exception aException)

 

// Toffee
static func TryFromString(_ aString: String, _ aException: inout Exception) -> JsonDocument
// ToffeeV2
static func TryFromString(_ aString: String?, _ aException: inout Exception) -> JsonDocument?

 

static JsonDocument TryFromString(String aString, __out Exception aException)

 

Shared Function TryFromString(aString As String?, <OutAttribute> ByRef aException As Exception) As JsonDocument?

Parameters:

  • aString:
  • aException:

TryFromUrl (not nullable Url): nullable JsonDocument    (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

class method TryFromUrl(aUrl: not nullable Url): nullable JsonDocument

 

static JsonDocument? TryFromUrl(Url! aUrl)

 

// Toffee
static func TryFromUrl(_ aUrl: Url) -> JsonDocument
// ToffeeV2
static func TryFromUrl(_ aUrl: Url) -> JsonDocument?

 

static JsonDocument TryFromUrl(Url aUrl)

 

Shared Function TryFromUrl(aUrl As Url) As JsonDocument?

Parameters:

  • aUrl:

TryFromUrl (not nullable Url, Exception): nullable JsonDocument    (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

class method TryFromUrl(aUrl: not nullable Url; out aException: Exception): nullable JsonDocument

 

static JsonDocument? TryFromUrl(Url! aUrl, out Exception aException)

 

// Toffee
static func TryFromUrl(_ aUrl: Url, _ aException: inout Exception) -> JsonDocument
// ToffeeV2
static func TryFromUrl(_ aUrl: Url, _ aException: inout Exception) -> JsonDocument?

 

static JsonDocument TryFromUrl(Url aUrl, __out Exception aException)

 

Shared Function TryFromUrl(aUrl As Url, <OutAttribute> ByRef aException As Exception) As JsonDocument?

Parameters:

  • aUrl:
  • aException:

 

constructor

 

constructor

 

JsonArray()

 

init()

 

JsonArray()

 

Sub New()

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 IEnumerable<JsonNode>)

 

constructor(aItems: not nullable IEnumerable<JsonNode>)

 

JsonArray(IEnumerable<JsonNode>! aItems)

 

// Toffee
init(_ aItems: INSFastEnumeration<JsonNode>)
// ToffeeV2
init(_ aItems: IEnumerable<JsonNode>)

 

JsonArray(Iterable<JsonNode> aItems)

 

Sub New(aItems As IEnumerable<JsonNode>)

Parameters:

  • aItems:

constructor (not nullable IEnumerable<String>)

 

constructor(aItems: not nullable IEnumerable<String>)

 

JsonArray(IEnumerable<String>! aItems)

 

// Toffee
init(_ aItems: INSFastEnumeration<String>)
// ToffeeV2
init(_ aItems: IEnumerable<String>)

 

JsonArray(Iterable<String> aItems)

 

Sub New(aItems As IEnumerable<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:

constructor withCapacity(Int32)

 

constructor withCapacity(aCapacity: Int32)

 

JsonArray withCapacity(Int32 aCapacity)

 

init(capacity aCapacity: Int32)

 

JsonArray withCapacity(Integer aCapacity)

 

Sub New withCapacity(aCapacity As Int32)

Parameters:

  • aCapacity:

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:

Add (nullable ImmutableList<JsonNode>)

Adds 0 or more json nodes to this array.

 

method Add(aValues: nullable ImmutableList<JsonNode>)

 

void Add(ImmutableList<JsonNode>? aValues)

 

// Toffee
func Add(_ aValues: ImmutableList<JsonNode>)
// ToffeeV2
func Add(_ aValues: ImmutableList<JsonNode>?)

 

void Add(ImmutableList<JsonNode> aValues)

 

Sub Add(aValues As ImmutableList<JsonNode>?)

Parameters:

  • aValues:

Add (INSFastEnumeration<String>) Toffee, ToffeeV2

 

// Toffee
func Add(_ aValues: INSFastEnumeration<String>)
// ToffeeV2
func Add(_ aValues: IEnumerable<String>)

Parameters:

  • aValues:

Add (IEnumerable<String>) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island

 

method Add(params aValues: IEnumerable<String>)

 

void Add(params IEnumerable<String> aValues)

 

func Add(_ aValues: IEnumerable<String>...)

 

void Add(Iterable<String>... aValues)

 

Sub Add(ParamArray aValues As IEnumerable<String>)

Parameters:

  • aValues:

Any  override

 

method Any(aName: not nullable String): IEnumerable<JsonNode>

 

IEnumerable<JsonNode> Any(String! aName)

 

// Toffee
func Any(_ aName: String) -> INSFastEnumeration<JsonNode>
// ToffeeV2
func Any(_ aName: String) -> IEnumerable<JsonNode>

 

Iterable<JsonNode> Any(String aName)

 

Function Any(aName As String) As IEnumerable<JsonNode>

Parameters:

  • aName:

Clear

Clears this array.

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

 

Sub Clear()

countByEnumeratingWithState  virtual    (declared in JsonNode) Toffee, ToffeeV2

 

func countByEnumeratingWithState(_ aState: UnsafeMutablePointer<NSFastEnumerationState>, objects stackbuf: UnsafeMutablePointer<JsonNode>, count len: NSUInteger) -> NSUInteger

Parameters:

  • aState:
  • stackbuf:
  • len:

description  override    (declared in JsonNode) Toffee, ToffeeV2

Returns the string representation of this node.

 

func description() -> NSString

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

Returns a sequence with the elements in this array.

 

method GetEnumerator: IEnumerator<JsonNode>

 

IEnumerator<JsonNode> GetEnumerator()

 

func GetEnumerator() -> IEnumerator<JsonNode>

 

Function GetEnumerator() As IEnumerator<JsonNode>

GetSequence  override

Returns a sequence with the elements in this array.

 

method GetSequence: IEnumerable<JsonNode>

 

IEnumerable<JsonNode> GetSequence()

 

// Toffee
func GetSequence() -> INSFastEnumeration<JsonNode>
// ToffeeV2
func GetSequence() -> IEnumerable<JsonNode>

 

Iterable<JsonNode> GetSequence()

 

Function GetSequence() As IEnumerable<JsonNode>

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:

Replace (JsonNode, JsonNode)

 

method Replace(aOldValue: JsonNode; aNewValue: JsonNode)

 

void Replace(JsonNode aOldValue, JsonNode aNewValue)

 

func Replace(_ aOldValue: JsonNode, _ aNewValue: JsonNode)

 

void Replace(JsonNode aOldValue, JsonNode aNewValue)

 

Sub Replace(aOldValue As JsonNode, aNewValue As JsonNode)

Parameters:

  • aOldValue:
  • aNewValue:

Replace (String, String)

 

method Replace(aOldValue: String; aNewValue: String)

 

void Replace(String aOldValue, String aNewValue)

 

func Replace(_ aOldValue: String, _ aNewValue: String)

 

void Replace(String aOldValue, String aNewValue)

 

Sub Replace(aOldValue As String, aNewValue As String)

Parameters:

  • aOldValue:
  • aNewValue:

SaveToFile (not nullable File)    (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

method SaveToFile(aFileName: not nullable File)

 

void SaveToFile(File! aFileName)

 

func SaveToFile(_ aFileName: File)

 

void SaveToFile(File aFileName)

 

Sub SaveToFile(aFileName As File)

Parameters:

  • aFileName:

SaveToFile (not nullable File, JsonFormat, Encoding, Boolean)    (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

method SaveToFile(aFileName: not nullable File; aFormat: JsonFormat; aEncoding: Encoding := nil; aIncludeBOM: Boolean := false)

 

void SaveToFile(File! aFileName, JsonFormat aFormat, Encoding aEncoding = null, Boolean aIncludeBOM = false)

 

func SaveToFile(_ aFileName: File, _ aFormat: JsonFormat, _ aEncoding: Encoding = nil, _ aIncludeBOM: Boolean = false)

 

void SaveToFile(File aFileName, JsonFormat aFormat, Encoding aEncoding, Boolean aIncludeBOM)

 

Sub SaveToFile(aFileName As File, aFormat As JsonFormat, aEncoding As Encoding = Null, aIncludeBOM As Boolean = false)

Parameters:

  • aFileName:
  • aFormat:
  • aEncoding:
  • aIncludeBOM:

ToJsonBinary    (declared in JsonNode)

 

// .NET, .NET Core 6.0, .NET Standard 2.0
method ToJsonBinary(aFormat: JsonFormat := JsonFormat.Minimal; aEncoding: Encoding := nil; aIncludeBOM: Boolean := false): not nullable ImmutableBinary
// Island
method ToJsonBinary(aFormat: JsonFormat := JsonFormat.Minimal; aEncoding: Encoding; aIncludeBOM: Boolean := false): not nullable ImmutableBinary

 

// .NET, .NET Core 6.0, .NET Standard 2.0
ImmutableBinary! ToJsonBinary(JsonFormat aFormat = JsonFormat.Minimal, Encoding aEncoding = null, Boolean aIncludeBOM = false)
// Island
ImmutableBinary! ToJsonBinary(JsonFormat aFormat = JsonFormat.Minimal, Encoding aEncoding, Boolean aIncludeBOM = false)

 

func ToJsonBinary(_ aFormat: JsonFormat = JsonFormat.Minimal, _ aEncoding: Encoding, _ aIncludeBOM: Boolean = false) -> ImmutableBinary

 

ImmutableBinary ToJsonBinary(JsonFormat aFormat, Encoding aEncoding, Boolean aIncludeBOM)

 

// .NET, .NET Core 6.0, .NET Standard 2.0
Function ToJsonBinary(aFormat As JsonFormat = JsonFormat.Minimal, aEncoding As Encoding = Null, aIncludeBOM As Boolean = false) As ImmutableBinary
// Island
Function ToJsonBinary(aFormat As JsonFormat = JsonFormat.Minimal, aEncoding As Encoding, aIncludeBOM As Boolean = false) As ImmutableBinary

Parameters:

  • aFormat:
  • aEncoding:
  • aIncludeBOM:

ToJsonBytes    (declared in JsonNode)

 

// .NET, .NET Core 6.0, .NET Standard 2.0
method ToJsonBytes(aFormat: JsonFormat := JsonFormat.Minimal; aEncoding: Encoding := nil; aIncludeBOM: Boolean := false): not nullable array of Byte
// Island
method ToJsonBytes(aFormat: JsonFormat := JsonFormat.Minimal; aEncoding: Encoding; aIncludeBOM: Boolean := false): not nullable array of Byte

 

// .NET, .NET Core 6.0, .NET Standard 2.0
Byte[]! ToJsonBytes(JsonFormat aFormat = JsonFormat.Minimal, Encoding aEncoding = null, Boolean aIncludeBOM = false)
// Island
Byte[]! ToJsonBytes(JsonFormat aFormat = JsonFormat.Minimal, Encoding aEncoding, Boolean aIncludeBOM = false)

 

func ToJsonBytes(_ aFormat: JsonFormat = JsonFormat.Minimal, _ aEncoding: Encoding, _ aIncludeBOM: Boolean = false) -> Byte...

 

Byte[] ToJsonBytes(JsonFormat aFormat, Encoding aEncoding, Boolean aIncludeBOM)

 

// .NET, .NET Core 6.0, .NET Standard 2.0
Function ToJsonBytes(aFormat As JsonFormat = JsonFormat.Minimal, aEncoding As Encoding = Null, aIncludeBOM As Boolean = false) As Byte()
// Island
Function ToJsonBytes(aFormat As JsonFormat = JsonFormat.Minimal, aEncoding As Encoding, aIncludeBOM As Boolean = false) As Byte()

Parameters:

  • aFormat:
  • aEncoding:
  • aIncludeBOM:

ToJsonString  override

 

method ToJsonString(aFormat: JsonFormat := JsonFormat.HumanReadable): not nullable String

 

String! ToJsonString(JsonFormat aFormat = JsonFormat.HumanReadable)

 

func ToJsonString(_ aFormat: JsonFormat = JsonFormat.HumanReadable) -> String

 

String ToJsonString(JsonFormat aFormat)

 

Function ToJsonString(aFormat As JsonFormat = JsonFormat.HumanReadable) 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, Toffee, ToffeeV2

Returns the string representation of this node.

 

method ToString: PlatformString

 

PlatformString ToString()

 

func ToString() -> String

 

Function ToString() As PlatformString

ToStringList

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>

ToStrings

Converts this array to a string list.

 

method ToStrings: not nullable IEnumerable<String>

 

IEnumerable<String>! ToStrings()

 

// Toffee
func ToStrings() -> INSFastEnumeration<String>
// ToffeeV2
func ToStrings() -> IEnumerable<String>

 

Iterable<String> ToStrings()

 

Function ToStrings() As IEnumerable<String>

UniqueCopy  override

 

// .NET, .NET Core 6.0, .NET Standard 2.0
method UniqueCopy: InstanceType
// Island
method UniqueCopy: instancetype

 

// .NET, .NET Core 6.0, .NET Standard 2.0
InstanceType UniqueCopy()
// Island
instancetype UniqueCopy()

 

func UniqueCopy() -> instancetype

 

instancetype UniqueCopy()

 

// .NET, .NET Core 6.0, .NET Standard 2.0
Function UniqueCopy() As InstanceType
// Island
Function UniqueCopy() As instancetype