JSONTokener

Class of org.json · JSONTokener.java · Android's reference

public class JSONTokener

Reads JSON text as Android's does: lenient about a few things (single quotes, unquoted names, # comments).

Constructors

public JSONTokener(String in) source

Methods

public Object nextValue() throws JSONException source
public String nextString(char quote) throws JSONException source
public JSONException syntaxError(String message) source
public String toString() source
public boolean more() source
public char next() source
public char next(char c) throws JSONException source
public char nextClean() throws JSONException source
public String next(int length) throws JSONException source
public String nextTo(String excluded) source
public String nextTo(char excluded) source
public void skipPast(String thru) source
public char skipTo(char to) source
public void back() source
public static int dehexchar(char hex) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.