JsonArray
Overview
Location
- Reference: Sugar
- Namespace: Sugar.Json
- Ancestry: JsonNode | JsonArray
constructor
constructor
JsonArray()
init()
JsonArray()
Sub New()
Parameters:
- aItems:
Add
method Add(Value: JsonNode)
void Add(JsonNode Value)
func Add(_ Value: JsonNode)
void Add(JsonNode Value)
Sub Add(Value As JsonNode)
Parameters:
- Value:
BooleanValue (declared in JsonNode)
property BooleanValue: Boolean read write;
Boolean BooleanValue { get; set; }
var BooleanValue: Boolean { get{} set{} }
Boolean BooleanValue { __get; __set; }
Property BooleanValue() As Boolean
Clear
method Clear
void Clear()
func Clear()
void Clear()
Sub Clear()
Count
property Count: Int32 read;
Int32 Count { get; }
var Count: Int32 { get{} }
Int32 Count { __get; }
ReadOnly Property Count() As Int32
Parameters:
- aValue:
Create (nullable Boolean): JsonBooleanValue (declared in JsonNode)
class method Create(aValue: nullable Boolean): JsonBooleanValue
static JsonBooleanValue Create(Boolean? aValue)
static func Create(_ aValue: Boolean!) -> JsonBooleanValue
static JsonBooleanValue Create(Boolean aValue)
Shared Function Create(aValue As Boolean?) As JsonBooleanValue
Parameters:
- aValue:
Create (nullable Double): JsonFloatValue (declared in JsonNode)
class method Create(aValue: nullable Double): JsonFloatValue
static JsonFloatValue Create(Double? aValue)
static func Create(_ aValue: Double!) -> JsonFloatValue
static JsonFloatValue Create(Double aValue)
Shared Function Create(aValue As Double?) As JsonFloatValue
Parameters:
- aValue:
Create (nullable Int64): JsonIntegerValue (declared in JsonNode)
class method Create(aValue: nullable Int64): JsonIntegerValue
static JsonIntegerValue Create(Int64? aValue)
static func Create(_ aValue: Int64!) -> JsonIntegerValue
static JsonIntegerValue Create(Int64 aValue)
Shared Function Create(aValue As Int64?) As JsonIntegerValue
Parameters:
- aValue:
Create (Dictionary<String, JsonNode>): JsonObject (declared in JsonNode)
class method Create(aValue: Dictionary<String, JsonNode>): JsonObject
static JsonObject Create(Dictionary<String, JsonNode> aValue)
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:
Parameters:
- aValue:
Create (String): JsonStringValue (declared in JsonNode)
class method Create(aValue: String): JsonStringValue
static JsonStringValue Create(String aValue)
static func Create(_ aValue: String) -> JsonStringValue
static JsonStringValue Create(String aValue)
Shared Function Create(aValue As String) As JsonStringValue
Parameters:
- aValue:
FloatValue (declared in JsonNode)
property FloatValue: Double read write;
Double FloatValue { get; set; }
var FloatValue: Double { get{} set{} }
Double FloatValue { __get; __set; }
Property FloatValue() As Double
GetEnumerator
method GetEnumerator: IEnumerator<JsonNode>
IEnumerator<JsonNode> GetEnumerator()
func GetEnumerator() -> IEnumerator<JsonNode>
IEnumerator<JsonNode> GetEnumerator()
Function GetEnumerator() As IEnumerator<JsonNode>
GetNonGenericEnumerator
method GetNonGenericEnumerator: IEnumerator
IEnumerator GetNonGenericEnumerator()
func GetNonGenericEnumerator() -> IEnumerator
IEnumerator GetNonGenericEnumerator()
Function GetNonGenericEnumerator() As IEnumerator
Insert
Parameters:
- Index:
- Value:
IntegerValue (declared in JsonNode)
property IntegerValue: Int64 read write;
Int64 IntegerValue { get; set; }
var IntegerValue: Int64 { get{} set{} }
Int64 IntegerValue { __get; __set; }
Property IntegerValue() As Int64
Item
Item (declared in JsonNode)
Keys (declared in JsonNode)
property Keys: not nullable IEnumerable<String> read;
IEnumerable<String>! Keys { get; }
var Keys: IEnumerable<String> { get{} }
IEnumerable<String> Keys { __get; }
ReadOnly Property Keys() As IEnumerable<String>
Load
Parameters:
- JsonString:
RemoveAt
method RemoveAt(Index: Int32)
void RemoveAt(Int32 Index)
func RemoveAt(_ Index: Int32)
void RemoveAt(Int32 Index)
Sub RemoveAt(Index As Int32)
Parameters:
- Index:
StringValue (declared in JsonNode)
property StringValue: String read write;
String StringValue { get; set; }
var StringValue: String { get{} set{} }
String StringValue { __get; __set; }
Property StringValue() As String
ToJson
method ToJson: String
String ToJson()
func ToJson() -> String
String ToJson()
Function ToJson() As String
ToString (declared in JsonNode)
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
ToStringList
ToStrings
method ToStrings: not nullable IEnumerable<String>
IEnumerable<String>! ToStrings()
func ToStrings() -> IEnumerable<String>
IEnumerable<String> ToStrings()
Function ToStrings() As IEnumerable<String>
BooleanValue (declared in JsonNode)
property BooleanValue: Boolean read write;
Boolean BooleanValue { get; set; }
var BooleanValue: Boolean { get{} set{} }
Boolean BooleanValue { __get; __set; }
Property BooleanValue() As Boolean
Count
property Count: Int32 read;
Int32 Count { get; }
var Count: Int32 { get{} }
Int32 Count { __get; }
ReadOnly Property Count() As Int32
FloatValue (declared in JsonNode)
property FloatValue: Double read write;
Double FloatValue { get; set; }
var FloatValue: Double { get{} set{} }
Double FloatValue { __get; __set; }
Property FloatValue() As Double
IntegerValue (declared in JsonNode)
property IntegerValue: Int64 read write;
Int64 IntegerValue { get; set; }
var IntegerValue: Int64 { get{} set{} }
Int64 IntegerValue { __get; __set; }
Property IntegerValue() As Int64
Item
Item (declared in JsonNode)
Keys (declared in JsonNode)
property Keys: not nullable IEnumerable<String> read;
IEnumerable<String>! Keys { get; }
var Keys: IEnumerable<String> { get{} }
IEnumerable<String> Keys { __get; }
ReadOnly Property Keys() As IEnumerable<String>
StringValue (declared in JsonNode)
Parameters:
- aValue:
Create (nullable Boolean): JsonBooleanValue (declared in JsonNode)
class method Create(aValue: nullable Boolean): JsonBooleanValue
static JsonBooleanValue Create(Boolean? aValue)
static func Create(_ aValue: Boolean!) -> JsonBooleanValue
static JsonBooleanValue Create(Boolean aValue)
Shared Function Create(aValue As Boolean?) As JsonBooleanValue
Parameters:
- aValue:
Create (nullable Double): JsonFloatValue (declared in JsonNode)
class method Create(aValue: nullable Double): JsonFloatValue
static JsonFloatValue Create(Double? aValue)
static func Create(_ aValue: Double!) -> JsonFloatValue
static JsonFloatValue Create(Double aValue)
Shared Function Create(aValue As Double?) As JsonFloatValue
Parameters:
- aValue:
Create (nullable Int64): JsonIntegerValue (declared in JsonNode)
class method Create(aValue: nullable Int64): JsonIntegerValue
static JsonIntegerValue Create(Int64? aValue)
static func Create(_ aValue: Int64!) -> JsonIntegerValue
static JsonIntegerValue Create(Int64 aValue)
Shared Function Create(aValue As Int64?) As JsonIntegerValue
Parameters:
- aValue:
Create (Dictionary<String, JsonNode>): JsonObject (declared in JsonNode)
class method Create(aValue: Dictionary<String, JsonNode>): JsonObject
static JsonObject Create(Dictionary<String, JsonNode> aValue)
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:
Parameters:
- aValue:
Create (String): JsonStringValue (declared in JsonNode)
class method Create(aValue: String): JsonStringValue
static JsonStringValue Create(String aValue)
static func Create(_ aValue: String) -> JsonStringValue
static JsonStringValue Create(String aValue)
Shared Function Create(aValue As String) As JsonStringValue
Parameters:
- aValue:
Load
Parameters:
- JsonString:
constructor
constructor
JsonArray()
init()
JsonArray()
Sub New()
Parameters:
- aItems:
Add
method Add(Value: JsonNode)
void Add(JsonNode Value)
func Add(_ Value: JsonNode)
void Add(JsonNode Value)
Sub Add(Value As JsonNode)
Parameters:
- Value:
Clear
method Clear
void Clear()
func Clear()
void Clear()
Sub Clear()
GetEnumerator
method GetEnumerator: IEnumerator<JsonNode>
IEnumerator<JsonNode> GetEnumerator()
func GetEnumerator() -> IEnumerator<JsonNode>
IEnumerator<JsonNode> GetEnumerator()
Function GetEnumerator() As IEnumerator<JsonNode>
GetNonGenericEnumerator
method GetNonGenericEnumerator: IEnumerator
IEnumerator GetNonGenericEnumerator()
func GetNonGenericEnumerator() -> IEnumerator
IEnumerator GetNonGenericEnumerator()
Function GetNonGenericEnumerator() As IEnumerator
Insert
Parameters:
- Index:
- Value:
RemoveAt
method RemoveAt(Index: Int32)
void RemoveAt(Int32 Index)
func RemoveAt(_ Index: Int32)
void RemoveAt(Int32 Index)
Sub RemoveAt(Index As Int32)
Parameters:
- Index:
ToJson
method ToJson: String
String ToJson()
func ToJson() -> String
String ToJson()
Function ToJson() As String
ToString (declared in JsonNode)
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
ToStringList
ToStrings
method ToStrings: not nullable IEnumerable<String>
IEnumerable<String>! ToStrings()
func ToStrings() -> IEnumerable<String>
IEnumerable<String> ToStrings()
Function ToStrings() As IEnumerable<String>