JsonWriter.Value JsonWriter.Value Method

Definition

Overloads

Value(Number) Value(Number)

Encodes value.

Value(Boolean) Value(Boolean)

Encodes value.

Value(Double) Value(Double)

Encodes value.

Value(Int64) Value(Int64)

Encodes value.

Value(String) Value(String)

Encodes value.

Value(Number) Value(Number)

Encodes value.

[Android.Runtime.Register("value", "(Ljava/lang/Number;)Landroid/util/JsonWriter;", "")]
public Android.Util.JsonWriter Value (Java.Lang.Number value);
member this.Value : Java.Lang.Number -> Android.Util.JsonWriter

Parameters

value
Number Number

a finite value. May not be IsNaN or IsInfinite unless this writer is lenient.

Returns

Exceptions

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Value(Boolean) Value(Boolean)

Encodes value.

[Android.Runtime.Register("value", "(Z)Landroid/util/JsonWriter;", "")]
public Android.Util.JsonWriter Value (bool value);
member this.Value : bool -> Android.Util.JsonWriter

Parameters

Returns

Exceptions

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Value(Double) Value(Double)

Encodes value.

[Android.Runtime.Register("value", "(D)Landroid/util/JsonWriter;", "")]
public Android.Util.JsonWriter Value (double value);
member this.Value : double -> Android.Util.JsonWriter

Parameters

value
Double Double

a finite value. May not be IsNaN or IsInfinite unless this writer is lenient.

Returns

Exceptions

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Value(Int64) Value(Int64)

Encodes value.

[Android.Runtime.Register("value", "(J)Landroid/util/JsonWriter;", "")]
public Android.Util.JsonWriter Value (long value);
member this.Value : int64 -> Android.Util.JsonWriter

Parameters

value
Int64 Int64

Returns

Exceptions

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Value(String) Value(String)

Encodes value.

[Android.Runtime.Register("value", "(Ljava/lang/String;)Landroid/util/JsonWriter;", "")]
public Android.Util.JsonWriter Value (string value);
member this.Value : string -> Android.Util.JsonWriter

Parameters

value
String String

the literal string value, or null to encode a null literal.

Returns

Exceptions

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to