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.
| Parameter | Type | Description |
|---|---|---|
value | object |
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.
| Parameter | Type | Description |
|---|---|---|
type | Type | |
oValue | object |
Returns JValue
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