- Scanner - Class in org.json
-
A Scanner takes a source stream and extracts characters and
character sequences from it.
- Scanner(Reader) - Constructor for class org.json.Scanner
-
Construct a Scanner from a Reader.
- Scanner(InputStream, Charset) - Constructor for class org.json.Scanner
-
Construct a Scanner from an InputStream and supplied Charset.
- Scanner(String) - Constructor for class org.json.Scanner
-
Construct a Scanner from a string.
- secureDefaults() - Static method in class org.json.stream.BuilderLimits
-
Return a BuilderLimits
object that contains some limits for
secure processing.
- setContentNodes(int) - Method in class org.json.stream.BuilderLimits
-
Total number of child nodes per object or array.
- setExponentDigits(int) - Method in class org.json.stream.BuilderLimits
-
The maximum number of exponent digits in a number.
- setExponentDigits(int) - Method in class org.json.stream.JSONLimitStreamReader
-
The maximum number of exponent digits in a number.
- setFilter(LimitFilter) - Method in class org.json.stream.BuilderLimits
-
Soft filtering for any object, array, or value that passes the other
limits provided.
- setKeyLength(int) - Method in class org.json.stream.BuilderLimits
-
The maximum length of any key.
- setKeyLength(int) - Method in class org.json.stream.JSONLimitStreamReader
-
The maximum length of any key.
- setMantissaDigits(int) - Method in class org.json.stream.BuilderLimits
-
The maximum number of mantissa digits in a number.
- setMantissaDigits(int) - Method in class org.json.stream.JSONLimitStreamReader
-
The maximum number of mantissa digits in a number.
- setNestingDepth(int) - Method in class org.json.stream.BuilderLimits
-
Total nesting depth of objects or arrays.
- setStringLength(int) - Method in class org.json.stream.BuilderLimits
-
The maximum length of any string value.
- setStringLength(int) - Method in class org.json.stream.JSONLimitStreamReader
-
The maximum length of any string value.
- similar(Object) - Method in class org.json.JSONArray
-
Determine if two JSONArrays are similar.
- similar(Object) - Method in class org.json.JSONObject
-
Determine if two JSONObjects are similar.
- SimpleStructureWriter - Class in org.json.write
-
Initial structure writer for when a JSONWriter
is only writing a
simple value.
- simpleValue(Object, Appendable) - Method in class org.json.write.NullStructureWriter
-
Throws a JSONException
to indicate this writer can't write
a value.
- simpleValue(Object, Appendable) - Method in class org.json.write.SimpleStructureWriter
-
Write a simple value to the given Appendable
.
- simpleValue(Object, Appendable) - Method in interface org.json.write.StructureWriter
-
Write a simple value to the given Appendable
.
- size() - Method in class org.json.util.ALStack
-
Determine the number of elements on the stack.
- size() - Method in interface org.json.util.SizedIterable
-
Returns the number of elements in this Iterable
.
- SizedIterable<T> - Interface in org.json.util
-
Adds size information to an Iterable
.
- skipNumber() - Method in class org.json.stream.JSONLexer
-
Skip a number strictly according to the JSON specification.
- skipPast(String) - Method in class org.json.XMLTokener
-
Skip characters until past the requested string.
- skipString() - Method in class org.json.stream.JSONLexer
-
Skip the characters up to the next close quote character.
- skipTo(char) - Method in class org.json.Scanner
-
Skip characters until the next character is the requested character.
- skipToEndStructure() - Method in class org.json.stream.JSONStreamReader
-
Skip over the content of the current object or array, including any
nested objects or arrays.
- SLASH - Static variable in class org.json.XML
-
The Character '/'.
- state - Variable in class org.json.stream.JSONStreamReader
-
- stringToValue(String) - Static method in class org.json.JSONObject
-
Try to convert a string into a number, boolean, or null.
- stringToValue(String) - Static method in class org.json.XML
-
- StructureCollector<OA,AA,OR,AR> - Interface in org.json.stream
-
Allows JSONLimitBuilder
to parameterize the creation and population
of object and array structures, null
values, and creation of
a "finished" result type.
- StructureIdentifier - Interface in org.json.util
-
Holds an identifier that can be used to create a JSON Pointer expression.
- StructureWriter - Interface in org.json.write
-
Strategy interface for writing a JSON structure, either a JSON Object or
a JSON Array.
- StructureWriterFactory - Interface in org.json.write
-
Factory interface for creating StructureWriter
JSON Object and
JSON Array writers.
- subValue(Appendable) - Method in class org.json.write.NullStructureWriter
-
This method does nothing itself, but allows a sub-structure to be
written.
- subValue(Appendable) - Method in class org.json.write.SimpleStructureWriter
-
This method does nothing itself, but allows a sub-structure to be
written.
- subValue(Appendable) - Method in interface org.json.write.StructureWriter
-
Indicates that a sub-structure is about to be written.
- syntaxError(String) - Method in class org.json.Scanner
-
Make a JSONException to signal a syntax error.
- syntaxError(Throwable) - Method in class org.json.Scanner
-
Make a JSONException to signal a syntax error.
- syntaxError(String, Throwable) - Method in class org.json.Scanner
-
Make a JSONException to signal a syntax error.