Table of Contents

Class JsonReader

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

Constructors

JsonReader(Reader)

public JsonReader(Reader arg0)

Parameters

arg0 Reader

Reader

JsonReader(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 JsonReader(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 void BeginArray()

Exceptions

IOException

BeginObject()

public void BeginObject()

Exceptions

IOException

Close()

public void Close()

Exceptions

IOException

CreatePoolableInstance(Reader)

HPA initializer for JsonReader(Java.Io.Reader arg0)

public static JsonReader CreatePoolableInstance(Reader arg0)

Parameters

arg0 Reader

Returns

JsonReader

EndArray()

public void EndArray()

Exceptions

IOException

EndObject()

public void EndObject()

Exceptions

IOException

HasNext()

public bool HasNext()

Returns

bool

bool

Exceptions

IOException

IsLenient()

public bool IsLenient()

Returns

bool

bool

NextBoolean()

public bool NextBoolean()

Returns

bool

bool

Exceptions

IOException

NextDouble()

public double NextDouble()

Returns

double

double

Exceptions

IOException

NextInt()

public int NextInt()

Returns

int

int

Exceptions

IOException

NextLong()

public long NextLong()

Returns

long

long

Exceptions

IOException

NextName()

public String NextName()

Returns

String

String

Exceptions

IOException

NextNull()

public void NextNull()

Exceptions

IOException

NextString()

public String NextString()

Returns

String

String

Exceptions

IOException

Peek()

public JsonToken Peek()

Returns

JsonToken

JsonToken

Exceptions

IOException

SetLenient(bool)

public void SetLenient(bool arg0)

Parameters

arg0 bool

bool

SkipValue()

public void SkipValue()

Exceptions

IOException