Skip to main content

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)

ParameterTypeDescription
namestring

Returns bool

Add(string name, JToken value)

public void Add(string name, JToken value)

No description available.

ParameterTypeDescription
namestring
valueJToken

Serialize(Type type, object oSource, JsonSerializerSettings settings)

public static JObject Serialize(Type type, object oSource, JsonSerializerSettings settings = null)

No description available.

ParameterTypeDescription
typeType
oSourceobject
settingsJsonSerializerSettings

Returns JObject

ToString()

public override string ToString()

String representation (inherited)

Returns string

ToString(JsonSerializationOptions options)

public override string ToString(JsonSerializationOptions options)

No description available.

ParameterTypeDescription
optionsJsonSerializationOptions

Returns string

GetBsonSize()

public override int GetBsonSize()

No description available.

Returns int

GetBsonSize(string ename)

public override int GetBsonSize(string ename)

No description available.

ParameterTypeDescription
enamestring

Returns int

ToBson(byte[] buffer, ref int offset)

public override void ToBson(byte[] buffer, ref int offset)

No description available.

ParameterTypeDescription
bufferbyte[]
offsetref int

GetBsonType()

public override BsonTypes GetBsonType()

No description available.

Returns BsonTypes