Condividi tramite


JsonWriter(Writer) Constructor

Definition

Creates a new instance that writes a JSON-encoded stream to out.

[Android.Runtime.Register(".ctor", "(Ljava/io/Writer;)V", "")]
public JsonWriter (Java.IO.Writer? out);
[<Android.Runtime.Register(".ctor", "(Ljava/io/Writer;)V", "")>]
new Android.Util.JsonWriter : Java.IO.Writer -> Android.Util.JsonWriter

Parameters

out
Writer
Attributes

Remarks

Creates a new instance that writes a JSON-encoded stream to out. For best performance, ensure Writer is buffered; wrapping in java.io.BufferedWriter BufferedWriter if necessary.

Java documentation for android.util.JsonWriter.JsonWriter(java.io.Writer).

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