Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- array(Object...) - Static method in class dev.nolij.zson.Zson
-
Create a new JSON array with the given values.
C
- comment - Variable in class dev.nolij.zson.ZsonValue
-
The comment for this value.
- comment() - Element in annotation interface dev.nolij.zson.ZsonField
- convertEnum(Map<String, ZsonValue>, String, Class<E>) - Static method in class dev.nolij.zson.Zson
D
- deserializeOnly() - Element in annotation interface dev.nolij.zson.ZsonField
- dev.nolij.zson - package dev.nolij.zson
E
- entry(String, String, Object) - Static method in class dev.nolij.zson.Zson
-
Create a new entry with the given key, comment, and value.
- entry(String, Object) - Static method in class dev.nolij.zson.Zson
-
Create a new entry with the given key and value, and no comment.
- equals(Object) - Method in class dev.nolij.zson.ZsonValue
- escape(String, char) - Static method in class dev.nolij.zson.Zson
-
Escapes a string by replacing special characters with escape sequences.
- exclude() - Element in annotation interface dev.nolij.zson.ZsonField
- expandArrays - Variable in class dev.nolij.zson.Zson
F
- format - Variable in class dev.nolij.zson.ZsonValue
- format() - Element in annotation interface dev.nolij.zson.ZsonField
H
- hashCode() - Method in class dev.nolij.zson.ZsonValue
I
- include() - Element in annotation interface dev.nolij.zson.ZsonField
- indent - Variable in class dev.nolij.zson.Zson
M
- map2Obj(Map<String, ZsonValue>, Class<T>) - Static method in class dev.nolij.zson.Zson
-
Converts the given map to an object of the given type.
N
- NO_COMMENT - Static variable in class dev.nolij.zson.ZsonValue
-
The value for
commentwhen there is no comment, represented as the null character.
O
- obj2Map(Object) - Static method in class dev.nolij.zson.Zson
-
Converts the given object to a JSON map.
- object(Map.Entry<String, ZsonValue>...) - Static method in class dev.nolij.zson.Zson
-
Create a new JSON object with the given entries.
P
- parse(Reader) - Static method in class dev.nolij.zson.Zson
-
Parses a JSON value from the given
Reader. - parseFile(Path) - Static method in class dev.nolij.zson.Zson
-
Parses a JSON value from the contents of the given
Path. - parseString(String) - Static method in class dev.nolij.zson.Zson
-
Parses a JSON value from the given
String.
Q
S
- serializeOnly() - Element in annotation interface dev.nolij.zson.ZsonField
- stringify(Map<String, ZsonValue>) - Method in class dev.nolij.zson.Zson
-
Converts the given data to a JSON5 string.
T
- toString() - Method in class dev.nolij.zson.ZsonValue
U
- unescape(String) - Static method in class dev.nolij.zson.Zson
-
"Un-escapes" a string by replacing escape sequences with their actual characters.
V
- value - Variable in class dev.nolij.zson.ZsonValue
-
The underlying value.
- value(Object) - Method in class dev.nolij.zson.Zson
- value(Object, String) - Method in class dev.nolij.zson.Zson
-
Converts the given object to a JSON5 value.
W
- withExpandArrays(boolean) - Method in class dev.nolij.zson.Zson
- withIndent(String) - Method in class dev.nolij.zson.Zson
- withQuoteKeys(boolean) - Method in class dev.nolij.zson.Zson
- write(Map<String, ZsonValue>, Appendable) - Method in class dev.nolij.zson.Zson
-
Writes the given data in JSON5 format to the given output.
- write(Map<String, ZsonValue>, Path) - Method in class dev.nolij.zson.Zson
-
Writes the given data in JSON5 format to the given file.
Z
- Zson - Class in dev.nolij.zson
- Zson() - Constructor for class dev.nolij.zson.Zson
- ZsonField - Annotation Interface in dev.nolij.zson
-
ZsonField is an annotation that can be used to specify properties about a field in a class that is being serialized or deserialized to ZSON.
- ZsonValue - Class in dev.nolij.zson
-
Represents a value in a JSON-like structure.
- ZsonValue(String, Object) - Constructor for class dev.nolij.zson.ZsonValue
- ZsonValue(String, Object, String) - Constructor for class dev.nolij.zson.ZsonValue
- ZsonValue(Object) - Constructor for class dev.nolij.zson.ZsonValue
All Classes and Interfaces|All Packages|Constant Field Values