JsonBooleanValue
Overview
Json type to hold a boolean value.
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 | JsonValue<T> | JsonBooleanValue
constructor (Boolean) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island
Creates a new boolean value.
// .NET, .NET Core 6.0, .NET Standard 2.0
constructor(aValue: Boolean)
// Island
constructor(aValue: not nullable Boolean)
// .NET, .NET Core 6.0, .NET Standard 2.0
JsonBooleanValue(Boolean aValue)
// Island
JsonBooleanValue(Boolean! aValue)
init(_ aValue: Boolean)
JsonBooleanValue(Boolean aValue)
Sub New(aValue As Boolean)
Parameters:
- aValue:
constructor (not nullable Boolean) (declared in JsonValue<T>)
constructor(aValue: not nullable Boolean)
JsonBooleanValue(Boolean! aValue)
JsonBooleanValue(Boolean aValue)
Sub New(aValue As Boolean)
Parameters:
- aValue:
BooleanValue virtual (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
property BooleanValue: Boolean read;
Boolean BooleanValue { get; }
var BooleanValue: Boolean { get{} }
ReadOnly Property BooleanValue() As Boolean
BooleanValue (declared in JsonNode) Cooper
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 virtual (declared in JsonNode)
Returns the nr of elements in this node.
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 a new array node.
// Toffee
static func Create(_ aValue: JsonNode...) -> JsonArray
// ToffeeV2
static func Create(_ aValue: JsonNode...?) -> JsonArray?
static JsonArray Create(JsonNode[] aValue)
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 a new array node.
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) .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
class method CreateArray: not nullable JsonArray
static JsonArray! CreateArray()
static func CreateArray() -> JsonArray
Shared Function CreateArray() As JsonArray
static func CreateArray(CreateArray ) -> JsonArray
Parameters:
- :
CreateDocument (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
class method CreateDocument: not nullable JsonObject
static JsonObject! CreateDocument()
static func CreateDocument() -> JsonObject
Shared Function CreateDocument() As JsonObject
CreateDocument CreateDocument(): not nullable JsonObject virtual (declared in JsonNode) Toffee
static func CreateDocument(CreateDocument ) -> JsonObject
Parameters:
- :
CreateObject (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
class method CreateObject: not nullable JsonObject
static JsonObject! CreateObject()
static func CreateObject() -> JsonObject
Shared Function CreateObject() As JsonObject
CreateObject CreateObject(): not nullable JsonObject virtual (declared in JsonNode) Toffee
static func CreateObject(CreateObject ) -> JsonObject
Parameters:
- :
description override (declared in JsonValue<T>) ToffeeV2
Returns the string representation of this node.
func description() -> NSString
description description(): NSString override (declared in JsonValue<T>) Toffee
func description(description ) -> NSString
Parameters:
- :
Equals virtual (declared in JsonValue<T>) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
Returns true if this object matches the value given.
Parameters:
- Obj:
FloatValue virtual (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
property FloatValue: Double read;
Double FloatValue { get; }
var FloatValue: Double { get{} }
ReadOnly Property FloatValue() As Double
FloatValue (declared in JsonNode) Cooper
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
FromBinary (not nullable array of Byte, Encoding): not nullable JsonDocument (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
class method FromBinary(aBinary: not nullable array of Byte; aEncoding: Encoding): not nullable JsonDocument
static JsonDocument! FromBinary(Byte[]! aBinary, Encoding aEncoding)
static func FromBinary(_ aBinary: Byte..., _ aEncoding: Encoding) -> JsonDocument
Shared Function FromBinary(aBinary As Byte(), aEncoding As Encoding) As JsonDocument
Parameters:
- aBinary:
- aEncoding:
FromBinary (not nullable ImmutableBinary, Encoding): not nullable JsonDocument (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
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
Shared Function FromBinary(aBinary As ImmutableBinary, aEncoding As Encoding) As JsonDocument
Parameters:
- aBinary:
- aEncoding:
FromFile (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, 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
Shared Function FromFile(aFile As File) As JsonDocument
Parameters:
- aFile:
FromString (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
class method FromString(aString: not nullable String): not nullable JsonDocument
static JsonDocument! FromString(String! aString)
static func FromString(_ aString: String) -> JsonDocument
Shared Function FromString(aString As String) As JsonDocument
Parameters:
- aString:
FromUrl (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, 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
Shared Function FromUrl(aUrl As Url) As JsonDocument
Parameters:
- aUrl:
GetEnumerator virtual (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island
// .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>
GetHashCode virtual (declared in JsonValue<T>) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2
Returns a hashcode of the value.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Integer GetHashCode()
Function GetHashCode() As Int32
GetHashCode GetHashCode(): Int32 virtual (declared in JsonValue<T>) Toffee
func GetHashCode(GetHashCode ) -> Int32
Parameters:
- :
GetSequence virtual (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
method GetSequence: IEnumerable<JsonNode>
IEnumerable<JsonNode> GetSequence()
func GetSequence() -> IEnumerable<JsonNode>
Function GetSequence() As IEnumerable<JsonNode>
GetSequence GetSequence(): INSFastEnumeration<JsonNode> virtual (declared in JsonNode) Toffee
func GetSequence(GetSequence ) -> INSFastEnumeration<JsonNode>
Parameters:
- :
hash override (declared in JsonValue<T>) ToffeeV2
func hash() -> NativeUInt
hash hash(): UInt64 override (declared in JsonValue<T>) Toffee
Parameters:
- :
hashCode (declared in JsonValue<T>) Cooper
Returns a hashcode of the value.
method hashCode: Integer
Integer hashCode()
func hashCode() -> Integer
Integer hashCode()
Function hashCode() As Integer
IntegerValue virtual (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
property IntegerValue: Int64 read;
Int64 IntegerValue { get; }
var IntegerValue: Int64 { get{} }
ReadOnly Property IntegerValue() As Int64
IntegerValue (declared in JsonNode) Cooper
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
isEqual override (declared in JsonValue<T>) Toffee, ToffeeV2
Returns true if this object matches the value given.
Parameters:
- obj:
Item virtual (declared in JsonNode)
Access an element node by index.
Item virtual (declared in JsonNode)
Access an element node by index.
Item virtual (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
Item virtual (declared in JsonNode)
Access an element by name.
Item virtual (declared in JsonNode)
Access an element by name.
Item virtual (declared in JsonNode)
Access an element by name.
Item virtual (declared in JsonNode)
Access an element by name.
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{} }
ReadOnly Property Keys() As IEnumerable<String>
NodeKind override .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
property NodeKind: JsonNodeKind read;
JsonNodeKind NodeKind { get; }
var NodeKind: JsonNodeKind { get{} }
ReadOnly Property NodeKind() As JsonNodeKind
Root (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
property Root: not nullable JsonNode read;
JsonNode! Root { get; }
var Root: JsonNode { get{} }
ReadOnly Property Root() As JsonNode
SaveToFile (not nullable File) (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, 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)
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, 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; aIncludeBOM: Boolean)
void SaveToFile(File! aFileName, JsonFormat aFormat, Encoding aEncoding, Boolean aIncludeBOM)
func SaveToFile(_ aFileName: File, _ aFormat: JsonFormat, _ aEncoding: Encoding, _ aIncludeBOM: Boolean)
Sub SaveToFile(aFileName As File, aFormat As JsonFormat, aEncoding As Encoding, aIncludeBOM As Boolean)
Parameters:
- aFileName:
- aFormat:
- aEncoding:
- aIncludeBOM:
StringValue virtual (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
property StringValue: String read;
String StringValue { get; }
var StringValue: String { get{} }
ReadOnly Property StringValue() As String
StringValue (declared in JsonNode) Cooper
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 Cooper
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:
ToJsonString override .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
method ToJsonString(aFormat: JsonFormat): String
String ToJsonString(JsonFormat aFormat)
func ToJsonString(_ aFormat: JsonFormat) -> String
Function ToJsonString(aFormat As JsonFormat) As String
Parameters:
- aFormat:
toString (declared in JsonValue<T>) Cooper
method toString: PlatformString
PlatformString toString()
func toString() -> PlatformString
PlatformString toString()
Function toString() As PlatformString
ToString override (declared in JsonValue<T>) .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
Convert this value to string.
method ToString: PlatformString
PlatformString ToString()
func ToString() -> String
Function ToString() As PlatformString
ToString ToString(): String override (declared in JsonValue<T>) Toffee
func ToString(ToString ) -> String
Parameters:
- :
TryFromBinary (nullable array of Byte, Encoding): nullable JsonDocument (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
class method TryFromBinary(aBinary: nullable array of Byte; aEncoding: Encoding): nullable JsonDocument
static JsonDocument? TryFromBinary(Byte[]? aBinary, Encoding aEncoding)
// Toffee
static func TryFromBinary(_ aBinary: Byte..., _ aEncoding: Encoding) -> JsonDocument
// ToffeeV2
static func TryFromBinary(_ aBinary: Byte...?, _ aEncoding: Encoding) -> JsonDocument?
Shared Function TryFromBinary(aBinary As Byte()?, aEncoding As Encoding) As JsonDocument?
Parameters:
- aBinary:
- aEncoding:
TryFromBinary (nullable array of Byte, Encoding, Exception): nullable JsonDocument (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
class method TryFromBinary(aBinary: nullable array of Byte; aEncoding: Encoding; out aException: Exception): nullable JsonDocument
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
class method TryFromBinary(aBinary: nullable array of Byte; aEncoding: Encoding; out aException: Exception): nullable JsonDocument
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
static JsonDocument? TryFromBinary(Byte[]? aBinary, Encoding aEncoding, out Exception aException)
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
static JsonDocument? TryFromBinary(Byte[]? aBinary, Encoding aEncoding, out Exception aException)
// Toffee
static func TryFromBinary(_ aBinary: Byte..., _ aEncoding: Encoding, _ aException: Exception) -> JsonDocument
// ToffeeV2
static func TryFromBinary(_ aBinary: Byte...?, _ aEncoding: Encoding, _ aException: Exception) -> JsonDocument?
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
Shared Function TryFromBinary(aBinary As Byte()?, aEncoding As Encoding, <OutAttribute> ByRef aException As Exception) As JsonDocument?
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
Shared Function TryFromBinary(aBinary As Byte()?, aEncoding As Encoding, <OutAttribute> ByRef aException As Exception) As JsonDocument?
Parameters:
- aBinary:
- aEncoding:
- aException:
TryFromBinary (nullable ImmutableBinary, Encoding): nullable JsonDocument (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
class method TryFromBinary(aBinary: 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?
Shared Function TryFromBinary(aBinary As ImmutableBinary?, aEncoding As Encoding) As JsonDocument?
Parameters:
- aBinary:
- aEncoding:
TryFromBinary (nullable ImmutableBinary, Encoding, Exception): nullable JsonDocument (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
class method TryFromBinary(aBinary: nullable ImmutableBinary; aEncoding: Encoding; out aException: Exception): nullable JsonDocument
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
class method TryFromBinary(aBinary: nullable ImmutableBinary; aEncoding: Encoding; out aException: Exception): nullable JsonDocument
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
static JsonDocument? TryFromBinary(ImmutableBinary? aBinary, Encoding aEncoding, out Exception aException)
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
static JsonDocument? TryFromBinary(ImmutableBinary? aBinary, Encoding aEncoding, out Exception aException)
// Toffee
static func TryFromBinary(_ aBinary: ImmutableBinary, _ aEncoding: Encoding, _ aException: Exception) -> JsonDocument
// ToffeeV2
static func TryFromBinary(_ aBinary: ImmutableBinary?, _ aEncoding: Encoding, _ aException: Exception) -> JsonDocument?
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
Shared Function TryFromBinary(aBinary As ImmutableBinary?, aEncoding As Encoding, <OutAttribute> ByRef aException As Exception) As JsonDocument?
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
Shared Function TryFromBinary(aBinary As ImmutableBinary?, aEncoding As Encoding, <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, 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?
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, 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
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-Windows
class method TryFromFile(aFile: not nullable File; out aException: Exception): nullable JsonDocument
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
class method TryFromFile(aFile: not nullable File; out aException: Exception): nullable JsonDocument
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-Windows
static JsonDocument? TryFromFile(File! aFile, out Exception aException)
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
static JsonDocument? TryFromFile(File! aFile, out Exception aException)
// Toffee
static func TryFromFile(_ aFile: File, _ aException: Exception) -> JsonDocument
// ToffeeV2
static func TryFromFile(_ aFile: File, _ aException: Exception) -> JsonDocument?
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-Windows
Shared Function TryFromFile(aFile As File, <OutAttribute> ByRef aException As Exception) As JsonDocument?
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
Shared Function TryFromFile(aFile As File, <OutAttribute> ByRef aException As Exception) As JsonDocument?
Parameters:
- aFile:
- aException:
TryFromString (nullable String): nullable JsonDocument (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
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?
Shared Function TryFromString(aString As String?) As JsonDocument?
Parameters:
- aString:
TryFromString (nullable String, Exception): nullable JsonDocument (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
class method TryFromString(aString: nullable String; out aException: Exception): nullable JsonDocument
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
class method TryFromString(aString: nullable String; out aException: Exception): nullable JsonDocument
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
static JsonDocument? TryFromString(String? aString, out Exception aException)
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
static JsonDocument? TryFromString(String? aString, out Exception aException)
// Toffee
static func TryFromString(_ aString: String, _ aException: Exception) -> JsonDocument
// ToffeeV2
static func TryFromString(_ aString: String?, _ aException: Exception) -> JsonDocument?
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
Shared Function TryFromString(aString As String?, <OutAttribute> ByRef aException As Exception) As JsonDocument?
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
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, 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?
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, 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
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-Windows
class method TryFromUrl(aUrl: not nullable Url; out aException: Exception): nullable JsonDocument
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
class method TryFromUrl(aUrl: not nullable Url; out aException: Exception): nullable JsonDocument
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-Windows
static JsonDocument? TryFromUrl(Url! aUrl, out Exception aException)
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
static JsonDocument? TryFromUrl(Url! aUrl, out Exception aException)
// Toffee
static func TryFromUrl(_ aUrl: Url, _ aException: Exception) -> JsonDocument
// ToffeeV2
static func TryFromUrl(_ aUrl: Url, _ aException: Exception) -> JsonDocument?
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-Windows
Shared Function TryFromUrl(aUrl As Url, <OutAttribute> ByRef aException As Exception) As JsonDocument?
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
Shared Function TryFromUrl(aUrl As Url, <OutAttribute> ByRef aException As Exception) As JsonDocument?
Parameters:
- aUrl:
- aException:
UniqueCopy override (declared in JsonValue<T>) .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
// .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
// .NET, .NET Core 6.0, .NET Standard 2.0
Function UniqueCopy() As InstanceType
// Island
Function UniqueCopy() As instancetype
UniqueCopy UniqueCopy(): instancetype override (declared in JsonValue<T>) Toffee
func UniqueCopy(UniqueCopy ) -> instancetype
Parameters:
- :
Value (declared in JsonValue<T>) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
property Value: not nullable Boolean read;
Boolean! Value { get; }
// .NET, .NET Core 6.0, .NET Standard 2.0, Island
var Value: Boolean { get{} }
// Toffee
var Value: nullable Boolean { get{} }
// ToffeeV2
var Value: NSNumber<Boolean> { get{} }
ReadOnly Property Value() As Boolean
Value (declared in JsonValue<T>) Cooper
Get or sets the actual underlying value.
BooleanValue virtual (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
property BooleanValue: Boolean read;
Boolean BooleanValue { get; }
var BooleanValue: Boolean { get{} }
ReadOnly Property BooleanValue() As Boolean
BooleanValue (declared in JsonNode) Cooper
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 virtual (declared in JsonNode)
Returns the nr of elements in this node.
property Count: Int32 read;
Int32 Count { get; }
var Count: Int32 { get{} }
Integer Count { __get; }
ReadOnly Property Count() As Int32
FloatValue virtual (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
property FloatValue: Double read;
Double FloatValue { get; }
var FloatValue: Double { get{} }
ReadOnly Property FloatValue() As Double
FloatValue (declared in JsonNode) Cooper
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) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
property IntegerValue: Int64 read;
Int64 IntegerValue { get; }
var IntegerValue: Int64 { get{} }
ReadOnly Property IntegerValue() As Int64
IntegerValue (declared in JsonNode) Cooper
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 virtual (declared in JsonNode)
Access an element node by index.
Item virtual (declared in JsonNode)
Access an element node by index.
Item virtual (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
Item virtual (declared in JsonNode)
Access an element by name.
Item virtual (declared in JsonNode)
Access an element by name.
Item virtual (declared in JsonNode)
Access an element by name.
Item virtual (declared in JsonNode)
Access an element by name.
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{} }
ReadOnly Property Keys() As IEnumerable<String>
NodeKind override .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
property NodeKind: JsonNodeKind read;
JsonNodeKind NodeKind { get; }
var NodeKind: JsonNodeKind { get{} }
ReadOnly Property NodeKind() As JsonNodeKind
Root (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
property Root: not nullable JsonNode read;
JsonNode! Root { get; }
var Root: JsonNode { get{} }
ReadOnly Property Root() As JsonNode
StringValue virtual (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
property StringValue: String read;
String StringValue { get; }
var StringValue: String { get{} }
ReadOnly Property StringValue() As String
StringValue (declared in JsonNode) Cooper
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
Value (declared in JsonValue<T>) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
property Value: not nullable Boolean read;
Boolean! Value { get; }
// .NET, .NET Core 6.0, .NET Standard 2.0, Island
var Value: Boolean { get{} }
// Toffee
var Value: nullable Boolean { get{} }
// ToffeeV2
var Value: NSNumber<Boolean> { get{} }
ReadOnly Property Value() As Boolean
Value (declared in JsonValue<T>) Cooper
Get or sets the actual underlying value.
Create a new array node.
// Toffee
static func Create(_ aValue: JsonNode...) -> JsonArray
// ToffeeV2
static func Create(_ aValue: JsonNode...?) -> JsonArray?
static JsonArray Create(JsonNode[] aValue)
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 a new array node.
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) .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
class method CreateArray: not nullable JsonArray
static JsonArray! CreateArray()
static func CreateArray() -> JsonArray
Shared Function CreateArray() As JsonArray
static func CreateArray(CreateArray ) -> JsonArray
Parameters:
- :
CreateDocument (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
class method CreateDocument: not nullable JsonObject
static JsonObject! CreateDocument()
static func CreateDocument() -> JsonObject
Shared Function CreateDocument() As JsonObject
CreateDocument CreateDocument(): not nullable JsonObject virtual (declared in JsonNode) Toffee
static func CreateDocument(CreateDocument ) -> JsonObject
Parameters:
- :
CreateObject (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
class method CreateObject: not nullable JsonObject
static JsonObject! CreateObject()
static func CreateObject() -> JsonObject
Shared Function CreateObject() As JsonObject
CreateObject CreateObject(): not nullable JsonObject virtual (declared in JsonNode) Toffee
static func CreateObject(CreateObject ) -> JsonObject
Parameters:
- :
FromBinary (not nullable array of Byte, Encoding): not nullable JsonDocument (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
class method FromBinary(aBinary: not nullable array of Byte; aEncoding: Encoding): not nullable JsonDocument
static JsonDocument! FromBinary(Byte[]! aBinary, Encoding aEncoding)
static func FromBinary(_ aBinary: Byte..., _ aEncoding: Encoding) -> JsonDocument
Shared Function FromBinary(aBinary As Byte(), aEncoding As Encoding) As JsonDocument
Parameters:
- aBinary:
- aEncoding:
FromBinary (not nullable ImmutableBinary, Encoding): not nullable JsonDocument (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
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
Shared Function FromBinary(aBinary As ImmutableBinary, aEncoding As Encoding) As JsonDocument
Parameters:
- aBinary:
- aEncoding:
FromFile (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, 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
Shared Function FromFile(aFile As File) As JsonDocument
Parameters:
- aFile:
FromString (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
class method FromString(aString: not nullable String): not nullable JsonDocument
static JsonDocument! FromString(String! aString)
static func FromString(_ aString: String) -> JsonDocument
Shared Function FromString(aString As String) As JsonDocument
Parameters:
- aString:
FromUrl (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, 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
Shared Function FromUrl(aUrl As Url) As JsonDocument
Parameters:
- aUrl:
TryFromBinary (nullable array of Byte, Encoding): nullable JsonDocument (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
class method TryFromBinary(aBinary: nullable array of Byte; aEncoding: Encoding): nullable JsonDocument
static JsonDocument? TryFromBinary(Byte[]? aBinary, Encoding aEncoding)
// Toffee
static func TryFromBinary(_ aBinary: Byte..., _ aEncoding: Encoding) -> JsonDocument
// ToffeeV2
static func TryFromBinary(_ aBinary: Byte...?, _ aEncoding: Encoding) -> JsonDocument?
Shared Function TryFromBinary(aBinary As Byte()?, aEncoding As Encoding) As JsonDocument?
Parameters:
- aBinary:
- aEncoding:
TryFromBinary (nullable array of Byte, Encoding, Exception): nullable JsonDocument (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
class method TryFromBinary(aBinary: nullable array of Byte; aEncoding: Encoding; out aException: Exception): nullable JsonDocument
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
class method TryFromBinary(aBinary: nullable array of Byte; aEncoding: Encoding; out aException: Exception): nullable JsonDocument
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
static JsonDocument? TryFromBinary(Byte[]? aBinary, Encoding aEncoding, out Exception aException)
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
static JsonDocument? TryFromBinary(Byte[]? aBinary, Encoding aEncoding, out Exception aException)
// Toffee
static func TryFromBinary(_ aBinary: Byte..., _ aEncoding: Encoding, _ aException: Exception) -> JsonDocument
// ToffeeV2
static func TryFromBinary(_ aBinary: Byte...?, _ aEncoding: Encoding, _ aException: Exception) -> JsonDocument?
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
Shared Function TryFromBinary(aBinary As Byte()?, aEncoding As Encoding, <OutAttribute> ByRef aException As Exception) As JsonDocument?
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
Shared Function TryFromBinary(aBinary As Byte()?, aEncoding As Encoding, <OutAttribute> ByRef aException As Exception) As JsonDocument?
Parameters:
- aBinary:
- aEncoding:
- aException:
TryFromBinary (nullable ImmutableBinary, Encoding): nullable JsonDocument (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
class method TryFromBinary(aBinary: 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?
Shared Function TryFromBinary(aBinary As ImmutableBinary?, aEncoding As Encoding) As JsonDocument?
Parameters:
- aBinary:
- aEncoding:
TryFromBinary (nullable ImmutableBinary, Encoding, Exception): nullable JsonDocument (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
class method TryFromBinary(aBinary: nullable ImmutableBinary; aEncoding: Encoding; out aException: Exception): nullable JsonDocument
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
class method TryFromBinary(aBinary: nullable ImmutableBinary; aEncoding: Encoding; out aException: Exception): nullable JsonDocument
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
static JsonDocument? TryFromBinary(ImmutableBinary? aBinary, Encoding aEncoding, out Exception aException)
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
static JsonDocument? TryFromBinary(ImmutableBinary? aBinary, Encoding aEncoding, out Exception aException)
// Toffee
static func TryFromBinary(_ aBinary: ImmutableBinary, _ aEncoding: Encoding, _ aException: Exception) -> JsonDocument
// ToffeeV2
static func TryFromBinary(_ aBinary: ImmutableBinary?, _ aEncoding: Encoding, _ aException: Exception) -> JsonDocument?
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
Shared Function TryFromBinary(aBinary As ImmutableBinary?, aEncoding As Encoding, <OutAttribute> ByRef aException As Exception) As JsonDocument?
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
Shared Function TryFromBinary(aBinary As ImmutableBinary?, aEncoding As Encoding, <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, 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?
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, 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
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-Windows
class method TryFromFile(aFile: not nullable File; out aException: Exception): nullable JsonDocument
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
class method TryFromFile(aFile: not nullable File; out aException: Exception): nullable JsonDocument
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-Windows
static JsonDocument? TryFromFile(File! aFile, out Exception aException)
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
static JsonDocument? TryFromFile(File! aFile, out Exception aException)
// Toffee
static func TryFromFile(_ aFile: File, _ aException: Exception) -> JsonDocument
// ToffeeV2
static func TryFromFile(_ aFile: File, _ aException: Exception) -> JsonDocument?
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-Windows
Shared Function TryFromFile(aFile As File, <OutAttribute> ByRef aException As Exception) As JsonDocument?
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
Shared Function TryFromFile(aFile As File, <OutAttribute> ByRef aException As Exception) As JsonDocument?
Parameters:
- aFile:
- aException:
TryFromString (nullable String): nullable JsonDocument (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
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?
Shared Function TryFromString(aString As String?) As JsonDocument?
Parameters:
- aString:
TryFromString (nullable String, Exception): nullable JsonDocument (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
class method TryFromString(aString: nullable String; out aException: Exception): nullable JsonDocument
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
class method TryFromString(aString: nullable String; out aException: Exception): nullable JsonDocument
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
static JsonDocument? TryFromString(String? aString, out Exception aException)
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
static JsonDocument? TryFromString(String? aString, out Exception aException)
// Toffee
static func TryFromString(_ aString: String, _ aException: Exception) -> JsonDocument
// ToffeeV2
static func TryFromString(_ aString: String?, _ aException: Exception) -> JsonDocument?
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
Shared Function TryFromString(aString As String?, <OutAttribute> ByRef aException As Exception) As JsonDocument?
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
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, 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?
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, 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
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-Windows
class method TryFromUrl(aUrl: not nullable Url; out aException: Exception): nullable JsonDocument
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
class method TryFromUrl(aUrl: not nullable Url; out aException: Exception): nullable JsonDocument
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-Windows
static JsonDocument? TryFromUrl(Url! aUrl, out Exception aException)
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
static JsonDocument? TryFromUrl(Url! aUrl, out Exception aException)
// Toffee
static func TryFromUrl(_ aUrl: Url, _ aException: Exception) -> JsonDocument
// ToffeeV2
static func TryFromUrl(_ aUrl: Url, _ aException: Exception) -> JsonDocument?
// .NET, .NET Core 6.0, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-Windows
Shared Function TryFromUrl(aUrl As Url, <OutAttribute> ByRef aException As Exception) As JsonDocument?
// Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
Shared Function TryFromUrl(aUrl As Url, <OutAttribute> ByRef aException As Exception) As JsonDocument?
Parameters:
- aUrl:
- aException:
constructor (Boolean) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island
Creates a new boolean value.
// .NET, .NET Core 6.0, .NET Standard 2.0
constructor(aValue: Boolean)
// Island
constructor(aValue: not nullable Boolean)
// .NET, .NET Core 6.0, .NET Standard 2.0
JsonBooleanValue(Boolean aValue)
// Island
JsonBooleanValue(Boolean! aValue)
init(_ aValue: Boolean)
JsonBooleanValue(Boolean aValue)
Sub New(aValue As Boolean)
Parameters:
- aValue:
constructor (not nullable Boolean) (declared in JsonValue<T>)
constructor(aValue: not nullable Boolean)
JsonBooleanValue(Boolean! aValue)
JsonBooleanValue(Boolean aValue)
Sub New(aValue As Boolean)
Parameters:
- aValue:
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 JsonValue<T>) ToffeeV2
Returns the string representation of this node.
func description() -> NSString
description description(): NSString override (declared in JsonValue<T>) Toffee
func description(description ) -> NSString
Parameters:
- :
Equals virtual (declared in JsonValue<T>) .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
Returns true if this object matches the value given.
Parameters:
- Obj:
GetEnumerator virtual (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island
// .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>
GetHashCode virtual (declared in JsonValue<T>) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2
Returns a hashcode of the value.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Integer GetHashCode()
Function GetHashCode() As Int32
GetHashCode GetHashCode(): Int32 virtual (declared in JsonValue<T>) Toffee
func GetHashCode(GetHashCode ) -> Int32
Parameters:
- :
GetSequence virtual (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
method GetSequence: IEnumerable<JsonNode>
IEnumerable<JsonNode> GetSequence()
func GetSequence() -> IEnumerable<JsonNode>
Function GetSequence() As IEnumerable<JsonNode>
GetSequence GetSequence(): INSFastEnumeration<JsonNode> virtual (declared in JsonNode) Toffee
func GetSequence(GetSequence ) -> INSFastEnumeration<JsonNode>
Parameters:
- :
hash override (declared in JsonValue<T>) ToffeeV2
func hash() -> NativeUInt
hash hash(): UInt64 override (declared in JsonValue<T>) Toffee
Parameters:
- :
hashCode (declared in JsonValue<T>) Cooper
Returns a hashcode of the value.
method hashCode: Integer
Integer hashCode()
func hashCode() -> Integer
Integer hashCode()
Function hashCode() As Integer
isEqual override (declared in JsonValue<T>) Toffee, ToffeeV2
Returns true if this object matches the value given.
Parameters:
- obj:
SaveToFile (not nullable File) (declared in JsonNode) .NET, .NET Core 6.0, .NET Standard 2.0, 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)
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, 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; aIncludeBOM: Boolean)
void SaveToFile(File! aFileName, JsonFormat aFormat, Encoding aEncoding, Boolean aIncludeBOM)
func SaveToFile(_ aFileName: File, _ aFormat: JsonFormat, _ aEncoding: Encoding, _ aIncludeBOM: Boolean)
Sub SaveToFile(aFileName As File, aFormat As JsonFormat, aEncoding As Encoding, aIncludeBOM As Boolean)
Parameters:
- aFileName:
- aFormat:
- aEncoding:
- aIncludeBOM:
ToJson Cooper
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:
ToJsonString override .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
method ToJsonString(aFormat: JsonFormat): String
String ToJsonString(JsonFormat aFormat)
func ToJsonString(_ aFormat: JsonFormat) -> String
Function ToJsonString(aFormat As JsonFormat) As String
Parameters:
- aFormat:
toString (declared in JsonValue<T>) Cooper
method toString: PlatformString
PlatformString toString()
func toString() -> PlatformString
PlatformString toString()
Function toString() As PlatformString
ToString override (declared in JsonValue<T>) .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
Convert this value to string.
method ToString: PlatformString
PlatformString ToString()
func ToString() -> String
Function ToString() As PlatformString
ToString ToString(): String override (declared in JsonValue<T>) Toffee
func ToString(ToString ) -> String
Parameters:
- :
UniqueCopy override (declared in JsonValue<T>) .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
// .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
// .NET, .NET Core 6.0, .NET Standard 2.0
Function UniqueCopy() As InstanceType
// Island
Function UniqueCopy() As instancetype
UniqueCopy UniqueCopy(): instancetype override (declared in JsonValue<T>) Toffee
func UniqueCopy(UniqueCopy ) -> instancetype
Parameters:
- :