Index
All Classes and Interfaces|All Packages|Serialized Form
C
- convert(Object, Class<T>) - Method in class org.loxlylabs.nestedtext.DeserializationContext
-
Converts a source object graph into an instance of a specified non-generic target class.
- convert(Object, TypeReference<T>) - Method in class org.loxlylabs.nestedtext.DeserializationContext
-
Converts a source object graph into an instance of a specified generic target class.
D
- DeserializationContext - Class in org.loxlylabs.nestedtext
-
Provides context for a deserialization operation and serves as the main entry point for data binding.
- DeserializationContext() - Constructor for class org.loxlylabs.nestedtext.DeserializationContext
-
Creates a new context with no custom deserializers.
- DeserializationContext(Map<Class<?>, Deserializer<?>>) - Constructor for class org.loxlylabs.nestedtext.DeserializationContext
-
Creates a new context with the given custom deserializers.
- DeserializationException - Exception Class in org.loxlylabs.nestedtext
-
An exception that may be thrown when binding to a Java type.
- deserialize(Object, DeserializationContext) - Method in interface org.loxlylabs.nestedtext.Deserializer
-
Converts a NestedText-compatible object into a Java object of type T.
- Deserializer<T> - Interface in org.loxlylabs.nestedtext
-
Defines a custom strategy for deserializing a List, String, or Map into a specific Java type
T. - dump(Object) - Method in class org.loxlylabs.nestedtext.NestedText
-
Dumps (serializes) a Java object into a NestedText formatted string.
- dump(Object, DumpOptions) - Method in class org.loxlylabs.nestedtext.NestedText
-
Dumps (serializes) a Java object into a NestedText formatted string.
- DumpOptions - Record Class in org.loxlylabs.nestedtext
-
Options to use when dumping an Object to Minimal NestedText
- DumpOptions(String, int, boolean) - Constructor for record class org.loxlylabs.nestedtext.DumpOptions
-
Creates an instance of a
DumpOptionsrecord class.
E
- eol() - Method in record class org.loxlylabs.nestedtext.DumpOptions
-
Returns the value of the
eolrecord component. - equals(Object) - Method in record class org.loxlylabs.nestedtext.DumpOptions
-
Indicates whether some other object is "equal to" this one.
G
- getColumn() - Method in exception class org.loxlylabs.nestedtext.NestedTextException
-
Gets the column number where the parsing error occurred.
- getLine() - Method in exception class org.loxlylabs.nestedtext.NestedTextException
-
Gets the line number where the parsing error occurred.
- getType() - Method in class org.loxlylabs.nestedtext.TypeReference
-
Returns the generic
Type.
H
- hashCode() - Method in record class org.loxlylabs.nestedtext.DumpOptions
-
Returns a hash code value for this object.
I
- indentAmount() - Method in record class org.loxlylabs.nestedtext.DumpOptions
-
Returns the value of the
indentAmountrecord component.
L
- load(byte[]) - Method in class org.loxlylabs.nestedtext.NestedText
-
Loads (parses) NestedText content from a byte array.
- load(byte[], Class<T>) - Method in class org.loxlylabs.nestedtext.NestedText
-
Loads NestedText content from a byte array and converts it into a Java object.
- load(byte[], TypeReference<T>) - Method in class org.loxlylabs.nestedtext.NestedText
-
Loads NestedText content from a byte array and converts it into a generic Java type.
- load(String) - Method in class org.loxlylabs.nestedtext.NestedText
-
Loads (parses) NestedText content from a string.
- load(String, Class<T>) - Method in class org.loxlylabs.nestedtext.NestedText
-
Loads NestedText content and converts it into a Java object.
- load(String, TypeReference<T>) - Method in class org.loxlylabs.nestedtext.NestedText
-
Loads NestedText content and converts it into a generic Java type.
- load(Path) - Method in class org.loxlylabs.nestedtext.NestedText
-
Loads (parses) NestedText content from a path.
- load(Path, Class<T>) - Method in class org.loxlylabs.nestedtext.NestedText
-
Loads NestedText content from a path.
- load(Path, TypeReference<T>) - Method in class org.loxlylabs.nestedtext.NestedText
-
Loads NestedText content and converts it into a Java object.
N
- NestedText - Class in org.loxlylabs.nestedtext
-
The main class for loading and dumping NestedText data.
- NestedText() - Constructor for class org.loxlylabs.nestedtext.NestedText
-
Creates a new NestedText instance.
- NestedTextException - Exception Class in org.loxlylabs.nestedtext
-
The unified exception for all errors that occur within the NestedText library.
O
- org.loxlylabs.nestedtext - package org.loxlylabs.nestedtext
R
- registerDeserializer(Class<T>, Deserializer<T>) - Method in class org.loxlylabs.nestedtext.NestedText
-
Registers a custom deserializer for deserializing a value to specific class.
- registerSerializer(Class<T>, Serializer<T>) - Method in class org.loxlylabs.nestedtext.NestedText
-
Registers a custom serializer for serializing a specific class to a NestedText-compatible format.
S
- serialize(T) - Method in interface org.loxlylabs.nestedtext.Serializer
-
Converts a given value of type T into a NestedText-compatible object.
- Serializer<T> - Interface in org.loxlylabs.nestedtext
-
A functional interface for providing a custom serialization strategy for a specific class.
T
- toString() - Method in record class org.loxlylabs.nestedtext.DumpOptions
-
Returns a string representation of this record class.
- TypeReference<T> - Class in org.loxlylabs.nestedtext
-
Used for serializing NestedText to a List<T> or a Map<K,V>
- TypeReference() - Constructor for class org.loxlylabs.nestedtext.TypeReference
-
Constructor which captures the generic type.
U
- useReflection() - Method in record class org.loxlylabs.nestedtext.DumpOptions
-
Returns the value of the
useReflectionrecord component.
All Classes and Interfaces|All Packages|Serialized Form