Table of Contents

Class JSONArray

Namespace
Org.Json
Assembly
MASES.Netdroid.dll
public class JSONArray : JVMBridgeBase<JSONArray>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
JSONArray
Implements
Extension Methods

Constructors

JSONArray()

public JSONArray()

JSONArray(String)

public JSONArray(String arg0)

Parameters

arg0 String

String

Exceptions

JSONException

JSONArray(Collection)

public JSONArray(Collection arg0)

Parameters

arg0 Collection

Collection

JSONArray(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 JSONArray(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

JSONArray(JSONTokener)

public JSONArray(JSONTokener arg0)

Parameters

arg0 JSONTokener

JSONTokener

Exceptions

JSONException

JSONArray(object)

public JSONArray(object arg0)

Parameters

arg0 object

object

Exceptions

JSONException

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

CreatePoolableInstance()

HPA initializer for JSONArray()

public static JSONArray CreatePoolableInstance()

Returns

JSONArray

CreatePoolableInstance(String)

HPA initializer for JSONArray(Java.Lang.String arg0)

public static JSONArray CreatePoolableInstance(String arg0)

Parameters

arg0 String

Returns

JSONArray

CreatePoolableInstance(Collection)

HPA initializer for JSONArray(Java.Util.Collection arg0)

public static JSONArray CreatePoolableInstance(Collection arg0)

Parameters

arg0 Collection

Returns

JSONArray

CreatePoolableInstance(JSONTokener)

HPA initializer for JSONArray(Org.Json.JSONTokener arg0)

public static JSONArray CreatePoolableInstance(JSONTokener arg0)

Parameters

arg0 JSONTokener

Returns

JSONArray

CreatePoolableInstance(object)

HPA initializer for JSONArray(object arg0)

public static JSONArray CreatePoolableInstance(object arg0)

Parameters

arg0 object

Returns

JSONArray

Get(int)

public object Get(int arg0)

Parameters

arg0 int

int

Returns

object

object

Exceptions

JSONException

GetBoolean(int)

public bool GetBoolean(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

Exceptions

JSONException

GetDouble(int)

public double GetDouble(int arg0)

Parameters

arg0 int

int

Returns

double

double

Exceptions

JSONException

GetInt(int)

public int GetInt(int arg0)

Parameters

arg0 int

int

Returns

int

int

Exceptions

JSONException

GetJSONArray(int)

public JSONArray GetJSONArray(int arg0)

Parameters

arg0 int

int

Returns

JSONArray

JSONArray

Exceptions

JSONException

GetJSONObject(int)

public JSONObject GetJSONObject(int arg0)

Parameters

arg0 int

int

Returns

JSONObject

JSONObject

Exceptions

JSONException

GetLong(int)

public long GetLong(int arg0)

Parameters

arg0 int

int

Returns

long

long

Exceptions

JSONException

GetString(int)

public String GetString(int arg0)

Parameters

arg0 int

int

Returns

String

String

Exceptions

JSONException

IsNull(int)

public bool IsNull(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

Join(String)

public String Join(String arg0)

Parameters

arg0 String

String

Returns

String

String

Exceptions

JSONException

Length()

public int Length()

Returns

int

int

Opt(int)

public object Opt(int arg0)

Parameters

arg0 int

int

Returns

object

object

OptBoolean(int)

public bool OptBoolean(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

OptBoolean(int, bool)

public bool OptBoolean(int arg0, bool arg1)

Parameters

arg0 int

int

arg1 bool

bool

Returns

bool

bool

OptDouble(int)

public double OptDouble(int arg0)

Parameters

arg0 int

int

Returns

double

double

OptDouble(int, double)

public double OptDouble(int arg0, double arg1)

Parameters

arg0 int

int

arg1 double

double

Returns

double

double

OptInt(int)

public int OptInt(int arg0)

Parameters

arg0 int

int

Returns

int

int

OptInt(int, int)

public int OptInt(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

int

int

OptJSONArray(int)

public JSONArray OptJSONArray(int arg0)

Parameters

arg0 int

int

Returns

JSONArray

JSONArray

OptJSONObject(int)

public JSONObject OptJSONObject(int arg0)

Parameters

arg0 int

int

Returns

JSONObject

JSONObject

OptLong(int)

public long OptLong(int arg0)

Parameters

arg0 int

int

Returns

long

long

OptLong(int, long)

public long OptLong(int arg0, long arg1)

Parameters

arg0 int

int

arg1 long

long

Returns

long

long

OptString(int)

public String OptString(int arg0)

Parameters

arg0 int

int

Returns

String

String

OptString(int, String)

public String OptString(int arg0, String arg1)

Parameters

arg0 int

int

arg1 String

String

Returns

String

String

Put(bool)

public JSONArray Put(bool arg0)

Parameters

arg0 bool

bool

Returns

JSONArray

JSONArray

Put(double)

public JSONArray Put(double arg0)

Parameters

arg0 double

double

Returns

JSONArray

JSONArray

Exceptions

JSONException

Put(int)

public JSONArray Put(int arg0)

Parameters

arg0 int

int

Returns

JSONArray

JSONArray

Put(int, bool)

public JSONArray Put(int arg0, bool arg1)

Parameters

arg0 int

int

arg1 bool

bool

Returns

JSONArray

JSONArray

Exceptions

JSONException

Put(int, double)

public JSONArray Put(int arg0, double arg1)

Parameters

arg0 int

int

arg1 double

double

Returns

JSONArray

JSONArray

Exceptions

JSONException

Put(int, int)

public JSONArray Put(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

JSONArray

JSONArray

Exceptions

JSONException

Put(int, long)

public JSONArray Put(int arg0, long arg1)

Parameters

arg0 int

int

arg1 long

long

Returns

JSONArray

JSONArray

Exceptions

JSONException

Put(int, object)

public JSONArray Put(int arg0, object arg1)

Parameters

arg0 int

int

arg1 object

object

Returns

JSONArray

JSONArray

Exceptions

JSONException

Put(long)

public JSONArray Put(long arg0)

Parameters

arg0 long

long

Returns

JSONArray

JSONArray

Put(object)

public JSONArray Put(object arg0)

Parameters

arg0 object

object

Returns

JSONArray

JSONArray

Remove(int)

public object Remove(int arg0)

Parameters

arg0 int

int

Returns

object

object

ToJSONObject(JSONArray)

public JSONObject ToJSONObject(JSONArray arg0)

Parameters

arg0 JSONArray

JSONArray

Returns

JSONObject

JSONObject

Exceptions

JSONException

ToString(int)

public String ToString(int arg0)

Parameters

arg0 int

int

Returns

String

String

Exceptions

JSONException