Skip to main content

JValue Class

Namespace: GHIElectronics.TinyCLR.Data.Json · Assembly: GHIElectronics.TinyCLR.Data.Json

A JSON primitive value — string, number, boolean, or null.

public class JValue : JToken

Constructors

JValue()

public JValue()

No description available.

JValue(object value)

public JValue(object value)

No description available.

ParameterTypeDescription
valueobject

Properties

Value

public object Value { get; set; }

Current needle position. Only this property doesn't dirty the background — the pointer is repainted every frame. (inherited)

Methods

Serialize(Type type, object oValue)

public static JValue Serialize(Type type, object oValue)

No description available.

ParameterTypeDescription
typeType
oValueobject

Returns JValue

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