Index
All Classes and Interfaces|All Packages|Serialized Form
A
- Arr<T> - Class in io.github.mxz_schwarz.parser
-
Wrapper class for JSON arrays.
- Arr(List) - Constructor for class io.github.mxz_schwarz.parser.Arr
- asNum() - Method in class io.github.mxz_schwarz.parser.Num
- asNum() - Method in class io.github.mxz_schwarz.parser.Obj
B
- Bool - Class in io.github.mxz_schwarz.parser
-
Wrapper class for JSON booleans.
C
- castElems(Class) - Method in class io.github.mxz_schwarz.parser.Arr
- castElems(Class) - Method in class io.github.mxz_schwarz.parser.Obj
- castVals(Class) - Method in class io.github.mxz_schwarz.parser.Map
- castVals(Class) - Method in class io.github.mxz_schwarz.parser.Obj
- checked() - Method in exception class io.github.mxz_schwarz.parser.JSONRuntimeException
E
- equals(Object) - Method in class io.github.mxz_schwarz.parser.Obj
F
H
- hashCode() - Method in class io.github.mxz_schwarz.parser.Obj
I
- io.github.mxz_schwarz.parser - package io.github.mxz_schwarz.parser
-
A package for parsing JSON data.
J
- JSON<N> - Class in io.github.mxz_schwarz.parser
-
classthat does most of the parsing legwork via thepublicJSON.parsemethods. - JSONException - Exception Class in io.github.mxz_schwarz.parser
-
A checked
Exceptionthat can be conveniently chained into an uncheckedJSONRuntimeExceptionviaJSONException.unchecked()and back into a checkedJSONExceptionwithJSONRuntimeException.checked(). - JSONRuntimeException - Exception Class in io.github.mxz_schwarz.parser
M
- Map<T> - Class in io.github.mxz_schwarz.parser
-
A wrapper class for JSON objects.
- Map(Map) - Constructor for class io.github.mxz_schwarz.parser.Map
N
- Null - Class in io.github.mxz_schwarz.parser
-
A wrapper class for the null value in JSON.
- NULL - Static variable in class io.github.mxz_schwarz.parser.Null
- Num<N> - Class in io.github.mxz_schwarz.parser
-
A wrapper class for JSON numbers.
- Num(N) - Constructor for class io.github.mxz_schwarz.parser.Num
O
- Obj - Class in io.github.mxz_schwarz.parser
-
A wrapper
abstract classthat acts as the superclass for all JSON data types. - Obj() - Constructor for class io.github.mxz_schwarz.parser.Obj
P
- parse(String) - Static method in class io.github.mxz_schwarz.parser.JSON
-
Parses a
Stringrepresenting JSON data. - parse(String, Function) - Static method in class io.github.mxz_schwarz.parser.JSON
- parse(Path) - Static method in class io.github.mxz_schwarz.parser.JSON
-
Parses a file containing JSON data.
- parse(Path, Function) - Static method in class io.github.mxz_schwarz.parser.JSON
S
- Str - Class in io.github.mxz_schwarz.parser
-
A wrapper class for JSON strings.
- Str(String) - Constructor for class io.github.mxz_schwarz.parser.Str
- stringify(Obj) - Static method in class io.github.mxz_schwarz.parser.JSON
-
Returns an ugly print
Stringrepresenting the JSON data.
T
- toBool() - Method in class io.github.mxz_schwarz.parser.Bool
- toBool() - Method in class io.github.mxz_schwarz.parser.Obj
-
Returns a
booleanwhenthisrepresents a boolean. - toList() - Method in class io.github.mxz_schwarz.parser.Arr
- toList() - Method in class io.github.mxz_schwarz.parser.Obj
- toList(Class) - Method in class io.github.mxz_schwarz.parser.Arr
- toList(Class) - Method in class io.github.mxz_schwarz.parser.Obj
-
Convenience method to cast each element in an array to a particular type.
- toMap() - Method in class io.github.mxz_schwarz.parser.Map
- toMap() - Method in class io.github.mxz_schwarz.parser.Obj
- toMap(Class) - Method in class io.github.mxz_schwarz.parser.Map
- toMap(Class) - Method in class io.github.mxz_schwarz.parser.Obj
- toNull() - Method in class io.github.mxz_schwarz.parser.Null
- toNull() - Method in class io.github.mxz_schwarz.parser.Obj
-
Returns
nullwhenthisrepresents null. - toNum() - Method in class io.github.mxz_schwarz.parser.Num
- toNum() - Method in class io.github.mxz_schwarz.parser.Obj
-
Returns a
Numberwhenthisrepresents a number. - toStdLibObj() - Method in class io.github.mxz_schwarz.parser.Arr
- toStdLibObj() - Method in class io.github.mxz_schwarz.parser.Bool
- toStdLibObj() - Method in class io.github.mxz_schwarz.parser.Map
- toStdLibObj() - Method in class io.github.mxz_schwarz.parser.Num
- toStdLibObj() - Method in class io.github.mxz_schwarz.parser.Obj
- toStdLibObj() - Method in class io.github.mxz_schwarz.parser.Str
- toStr() - Method in class io.github.mxz_schwarz.parser.Obj
-
Returns a
Stringwhenthisrepresents a string. - toStr() - Method in class io.github.mxz_schwarz.parser.Str
- toString() - Method in class io.github.mxz_schwarz.parser.Obj
- TRUE - Static variable in class io.github.mxz_schwarz.parser.Bool
U
- unchecked() - Method in exception class io.github.mxz_schwarz.parser.JSONException
All Classes and Interfaces|All Packages|Serialized Form