Table of Contents

Class JsonWriter

Namespace
Android.Util
Assembly
MASES.Netdroid.dll
public class JsonWriter : Closeable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ICloseable, IAutoCloseable
Inheritance
JsonWriter
Implements
Extension Methods

Constructors

JsonWriter(Writer)

public JsonWriter(Writer arg0)

Parameters

arg0 Writer

Writer

JsonWriter(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public JsonWriter(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

BeginArray()

public JsonWriter BeginArray()

Returns

JsonWriter

JsonWriter

Exceptions

IOException

BeginObject()

public JsonWriter BeginObject()

Returns

JsonWriter

JsonWriter

Exceptions

IOException

Close()

public void Close()

Exceptions

IOException

CreatePoolableInstance(Writer)

HPA initializer for JsonWriter(Java.Io.Writer arg0)

public static JsonWriter CreatePoolableInstance(Writer arg0)

Parameters

arg0 Writer

Returns

JsonWriter

EndArray()

public JsonWriter EndArray()

Returns

JsonWriter

JsonWriter

Exceptions

IOException

EndObject()

public JsonWriter EndObject()

Returns

JsonWriter

JsonWriter

Exceptions

IOException

Flush()

public void Flush()

Exceptions

IOException

IsLenient()

public bool IsLenient()

Returns

bool

bool

Name(String)

public JsonWriter Name(String arg0)

Parameters

arg0 String

String

Returns

JsonWriter

JsonWriter

Exceptions

IOException

NullValue()

public JsonWriter NullValue()

Returns

JsonWriter

JsonWriter

Exceptions

IOException

SetIndent(String)

public void SetIndent(String arg0)

Parameters

arg0 String

String

SetLenient(bool)

public void SetLenient(bool arg0)

Parameters

arg0 bool

bool

Value(Number)

public JsonWriter Value(Number arg0)

Parameters

arg0 Number

Number

Returns

JsonWriter

JsonWriter

Exceptions

IOException

Value(String)

public JsonWriter Value(String arg0)

Parameters

arg0 String

String

Returns

JsonWriter

JsonWriter

Exceptions

IOException

Value(bool)

public JsonWriter Value(bool arg0)

Parameters

arg0 bool

bool

Returns

JsonWriter

JsonWriter

Exceptions

IOException

Value(double)

public JsonWriter Value(double arg0)

Parameters

arg0 double

double

Returns

JsonWriter

JsonWriter

Exceptions

IOException

Value(long)

public JsonWriter Value(long arg0)

Parameters

arg0 long

long

Returns

JsonWriter

JsonWriter

Exceptions

IOException