Share via


JSONTokener.NextValue Method

Definition

Returns the next value from the input.

[Android.Runtime.Register("nextValue", "()Ljava/lang/Object;", "GetNextValueHandler")]
public virtual Java.Lang.Object? NextValue ();
[<Android.Runtime.Register("nextValue", "()Ljava/lang/Object;", "GetNextValueHandler")>]
abstract member NextValue : unit -> Java.Lang.Object
override this.NextValue : unit -> Java.Lang.Object

Returns

a JSONObject, JSONArray, String, Boolean, Integer, Long, Double or JSONObject#NULL.

Attributes

Exceptions

if the input is malformed.

Remarks

Returns the next value from the input.

Java documentation for org.json.JSONTokener.nextValue().

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