Index

A B C E F H I J M N O P S T U 
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
Pretty much casts this to a Num<N extends Number>

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

FALSE - Static variable in class io.github.mxz_schwarz.parser.Bool
 

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
class that does most of the parsing legwork via the public JSON.parse methods.
JSONException - Exception Class in io.github.mxz_schwarz.parser
A checked Exception that can be conveniently chained into an unchecked JSONRuntimeException via JSONException.unchecked() and back into a checked JSONException with JSONRuntimeException.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 class that 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 String representing 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 String representing 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 boolean when this represents a boolean.
toList() - Method in class io.github.mxz_schwarz.parser.Arr
 
toList() - Method in class io.github.mxz_schwarz.parser.Obj
Returns a List<Obj> when this represents an array.
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
Returns a Map<String,Obj> when this represents a boolean.
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 null when this represents null.
toNum() - Method in class io.github.mxz_schwarz.parser.Num
 
toNum() - Method in class io.github.mxz_schwarz.parser.Obj
Returns a Number when this represents 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 String when this represents 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
 
A B C E F H I J M N O P S T U 
All Classes and Interfaces|All Packages|Serialized Form