Share via


JSONTokener Constructors

Definition

Overloads

JSONTokener(String)
JSONTokener(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

JSONTokener(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public JSONTokener (string? in);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Org.Json.JSONTokener : string -> Org.Json.JSONTokener

Parameters

in
String

JSON encoded string. Null is not permitted and will yield a tokener that throws NullPointerExceptions when methods are called.

Attributes

Remarks

Java documentation for org.json.JSONTokener.JSONTokener(java.lang.String).

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

JSONTokener(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected JSONTokener (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Json.JSONTokener : nativeint * Android.Runtime.JniHandleOwnership -> Org.Json.JSONTokener

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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