JsonObject
Overview
Location
- Reference: Sugar
- Namespace: Sugar.Json
- Ancestry: JsonNode | JsonObject
constructor
constructor
JsonObject()
init()
JsonObject()
Sub New()
constructor (Dictionary<String, JsonNode>)
constructor(aItems: Dictionary<String, JsonNode>)
JsonObject(Dictionary<String, JsonNode> aItems)
init(_ aItems: Dictionary<String, JsonNode>)
JsonObject(Dictionary<String, JsonNode> aItems)
Sub New(aItems As Dictionary<String, JsonNode>)
Parameters:
- aItems:
Add
Parameters:
- Key:
- 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()
ContainsKey
Parameters:
- Key:
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<KeyValuePair<String, JsonNode>>
IEnumerator<KeyValuePair<String, JsonNode>> GetEnumerator()
func GetEnumerator() -> IEnumerator<KeyValuePair<String, JsonNode>>
IEnumerator<KeyValuePair<String, JsonNode>> GetEnumerator()
Function GetEnumerator() As IEnumerator<KeyValuePair<String, JsonNode>>
GetNonGenericEnumerator
method GetNonGenericEnumerator: IEnumerator
IEnumerator GetNonGenericEnumerator()
func GetNonGenericEnumerator() -> IEnumerator
IEnumerator GetNonGenericEnumerator()
Function GetNonGenericEnumerator() As IEnumerator
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 (declared in JsonNode)
Item
Keys
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
class method Load(JsonString: String): JsonObject
static JsonObject Load(String JsonString)
static func Load(_ JsonString: String) -> JsonObject
static JsonObject Load(String JsonString)
Shared Function Load(JsonString As String) As JsonObject
Parameters:
- JsonString:
Properties
property Properties: IEnumerable<KeyValuePair<String, JsonNode>> read;
IEnumerable<KeyValuePair<String, JsonNode>> Properties { get; }
var Properties: IEnumerable<KeyValuePair<String, JsonNode>> { get{} }
IEnumerable<KeyValuePair<String, JsonNode>> Properties { __get; }
ReadOnly Property Properties() As IEnumerable<KeyValuePair<String, JsonNode>>
Remove
Parameters:
- Key:
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)
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 (declared in JsonNode)
Item
Keys
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>
Properties
property Properties: IEnumerable<KeyValuePair<String, JsonNode>> read;
IEnumerable<KeyValuePair<String, JsonNode>> Properties { get; }
var Properties: IEnumerable<KeyValuePair<String, JsonNode>> { get{} }
IEnumerable<KeyValuePair<String, JsonNode>> Properties { __get; }
ReadOnly Property Properties() As IEnumerable<KeyValuePair<String, JsonNode>>
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
class method Load(JsonString: String): JsonObject
static JsonObject Load(String JsonString)
static func Load(_ JsonString: String) -> JsonObject
static JsonObject Load(String JsonString)
Shared Function Load(JsonString As String) As JsonObject
Parameters:
- JsonString:
constructor
constructor
JsonObject()
init()
JsonObject()
Sub New()
constructor (Dictionary<String, JsonNode>)
constructor(aItems: Dictionary<String, JsonNode>)
JsonObject(Dictionary<String, JsonNode> aItems)
init(_ aItems: Dictionary<String, JsonNode>)
JsonObject(Dictionary<String, JsonNode> aItems)
Sub New(aItems As Dictionary<String, JsonNode>)
Parameters:
- aItems:
Add
Parameters:
- Key:
- Value:
Clear
method Clear
void Clear()
func Clear()
void Clear()
Sub Clear()
ContainsKey
Parameters:
- Key:
GetEnumerator
method GetEnumerator: IEnumerator<KeyValuePair<String, JsonNode>>
IEnumerator<KeyValuePair<String, JsonNode>> GetEnumerator()
func GetEnumerator() -> IEnumerator<KeyValuePair<String, JsonNode>>
IEnumerator<KeyValuePair<String, JsonNode>> GetEnumerator()
Function GetEnumerator() As IEnumerator<KeyValuePair<String, JsonNode>>
GetNonGenericEnumerator
method GetNonGenericEnumerator: IEnumerator
IEnumerator GetNonGenericEnumerator()
func GetNonGenericEnumerator() -> IEnumerator
IEnumerator GetNonGenericEnumerator()
Function GetNonGenericEnumerator() As IEnumerator
Remove
Parameters:
- Key:
ToJson
method ToJson: String
String ToJson()
func ToJson() -> String
String ToJson()
Function ToJson() As String
ToString (declared in JsonNode)