JsonDocument

Overview

Location

  • Reference:
    • Elements.dll  .NET, .NET Standard 2.0
    • elements.jar  Cooper
    • Elements.fx  Island, ToffeeV2
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL

 

constructor .NET, .NET Standard 2.0, Cooper, Island, Toffee

 

constructor

 

JsonDocument()

 

init()

 

JsonDocument()

constructor (not nullable JsonNode): InstanceType .NET, .NET Standard 2.0, Cooper, Island, Toffee

 

constructor(aRoot: not nullable JsonNode)

 

JsonDocument(JsonNode! aRoot)

 

init(_ aRoot: JsonNode)

 

JsonDocument(JsonNode! aRoot)

Parameters:

  • aRoot:

constructor init ToffeeV2

 

func constructor init()

constructor init (not nullable JsonNode) ToffeeV2

 

func constructor init(_ aRoot: JsonNode)

Parameters:

  • aRoot:

CreateDocument

 

class method CreateDocument: not nullable JsonDocument

 

static JsonDocument! CreateDocument()

 

static func CreateDocument() -> JsonDocument

 

static JsonDocument! CreateDocument()

description  override Toffee, ToffeeV2

 

func description() -> NSString

FromBinary

 

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

 

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

 

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

 

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

Parameters:

  • aBinary:
  • aEncoding:

FromFile .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, 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)

Parameters:

  • aFile:

FromString

 

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)

Parameters:

  • aString:

Item  virtual

 

property Item[Key: String]: nullable JsonNode read write;

 

JsonNode? Item[String Key] { get; set; }

 

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

 

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

Keys  virtual

 

property Keys: not nullable IEnumerable<String> read;

 

IEnumerable<String>! Keys { get; }

 

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

 

Iterable<String>! Keys { __get; }

Root

 

property Root: not nullable JsonNode read;

 

JsonNode! Root { get; }

 

var Root: JsonNode { get{} }

 

JsonNode! Root { __get; }

RootObject

 

property RootObject: not nullable JsonObject read;

 

JsonObject! RootObject { get; }

 

var RootObject: JsonObject { get{} }

 

JsonObject! RootObject { __get; }

ToJson

 

method ToJson: String

 

String ToJson()

 

func ToJson() -> String

 

String ToJson()

ToString  virtual

 

method ToString: PlatformString

 

PlatformString ToString()

 

func ToString() -> String

 

PlatformString ToString()

TryFromBinary

 

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

 

static JsonDocument? TryFromBinary(ImmutableBinary! aBinary, Encoding aEncoding)

 

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

 

static JsonDocument TryFromBinary(ImmutableBinary! aBinary, Encoding aEncoding)

Parameters:

  • aBinary:
  • aEncoding:

TryFromFile .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, 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)

Parameters:

  • aFile:

TryFromString

 

class method TryFromString(aString: not 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)

Parameters:

  • aString:

 

Item  virtual

 

property Item[Key: String]: nullable JsonNode read write;

 

JsonNode? Item[String Key] { get; set; }

 

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

 

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

Keys  virtual

 

property Keys: not nullable IEnumerable<String> read;

 

IEnumerable<String>! Keys { get; }

 

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

 

Iterable<String>! Keys { __get; }

Root

 

property Root: not nullable JsonNode read;

 

JsonNode! Root { get; }

 

var Root: JsonNode { get{} }

 

JsonNode! Root { __get; }

RootObject

 

property RootObject: not nullable JsonObject read;

 

JsonObject! RootObject { get; }

 

var RootObject: JsonObject { get{} }

 

JsonObject! RootObject { __get; }

 

CreateDocument

 

class method CreateDocument: not nullable JsonDocument

 

static JsonDocument! CreateDocument()

 

static func CreateDocument() -> JsonDocument

 

static JsonDocument! CreateDocument()

FromBinary

 

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

 

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

 

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

 

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

Parameters:

  • aBinary:
  • aEncoding:

FromFile .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, 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)

Parameters:

  • aFile:

FromString

 

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)

Parameters:

  • aString:

TryFromBinary

 

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

 

static JsonDocument? TryFromBinary(ImmutableBinary! aBinary, Encoding aEncoding)

 

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

 

static JsonDocument TryFromBinary(ImmutableBinary! aBinary, Encoding aEncoding)

Parameters:

  • aBinary:
  • aEncoding:

TryFromFile .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, 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)

Parameters:

  • aFile:

TryFromString

 

class method TryFromString(aString: not 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)

Parameters:

  • aString:

 

constructor .NET, .NET Standard 2.0, Cooper, Island, Toffee

 

constructor

 

JsonDocument()

 

init()

 

JsonDocument()

constructor init ToffeeV2

 

func constructor init()

constructor init (not nullable JsonNode) ToffeeV2

 

func constructor init(_ aRoot: JsonNode)

Parameters:

  • aRoot:

constructor (not nullable JsonNode): InstanceType .NET, .NET Standard 2.0, Cooper, Island, Toffee

 

constructor(aRoot: not nullable JsonNode)

 

JsonDocument(JsonNode! aRoot)

 

init(_ aRoot: JsonNode)

 

JsonDocument(JsonNode! aRoot)

Parameters:

  • aRoot:

description  override Toffee, ToffeeV2

 

func description() -> NSString

ToJson

 

method ToJson: String

 

String ToJson()

 

func ToJson() -> String

 

String ToJson()

ToString  virtual

 

method ToString: PlatformString

 

PlatformString ToString()

 

func ToString() -> String

 

PlatformString ToString()