JObject Class
Namespace: GHIElectronics.TinyCLR.Data.Json · Assembly: GHIElectronics.TinyCLR.Data.Json
A JSON object — an unordered map of name/JToken pairs.
public class JObject : JToken
Properties
name]
public JProperty this[string name] { get; set; }
No description available.
Members
public ICollection Members { get; }
No description available.
Methods
Contains(string name)
public bool Contains(string name)
Determines whether a element is in the UIElementCollection. (inherited)
| Parameter | Type | Description |
|---|---|---|
name | string |
Returns bool
Add(string name, JToken value)
public void Add(string name, JToken value)
No description available.
| Parameter | Type | Description |
|---|---|---|
name | string | |
value | JToken |
Serialize(Type type, object oSource, JsonSerializerSettings settings)
public static JObject Serialize(Type type, object oSource, JsonSerializerSettings settings = null)
No description available.
| Parameter | Type | Description |
|---|---|---|
type | Type | |
oSource | object | |
settings | JsonSerializerSettings |
Returns JObject
ToString()
public override string ToString()
String representation (inherited)
Returns string
ToString(JsonSerializationOptions options)
public override string ToString(JsonSerializationOptions options)
No description available.
| Parameter | Type | Description |
|---|---|---|
options | JsonSerializationOptions |
Returns string
GetBsonSize()
public override int GetBsonSize()
No description available.
Returns int
GetBsonSize(string ename)
public override int GetBsonSize(string ename)
No description available.
| Parameter | Type | Description |
|---|---|---|
ename | string |
Returns int
ToBson(byte[] buffer, ref int offset)
public override void ToBson(byte[] buffer, ref int offset)
No description available.
| Parameter | Type | Description |
|---|---|---|
buffer | byte[] | |
offset | ref int |
GetBsonType()
public override BsonTypes GetBsonType()
No description available.
Returns BsonTypes