Share via


JSONTokener.NextClean Method

Definition

Returns the next character that is not whitespace and does not belong to a comment.

[Android.Runtime.Register("nextClean", "()C", "GetNextCleanHandler")]
public virtual char NextClean ();
[<Android.Runtime.Register("nextClean", "()C", "GetNextCleanHandler")>]
abstract member NextClean : unit -> char
override this.NextClean : unit -> char

Returns

Attributes

Exceptions

Remarks

Returns the next character that is not whitespace and does not belong to a comment. If the input is exhausted before such a character can be found, the null character '\0' is returned. The return value of this method is ambiguous for JSON strings that contain the character '\0'.

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

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