A B C D E F G H I J K L M N O P R S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addNotCustomReader(Class) - Method in class com.cedarsoftware.util.io.JsonReader
-
Force json-io to use it's internal generic approach to writing the passed in class, even if a Custom JSON reader is specified for its parent class.
- addNotCustomWriter(Class) - Method in class com.cedarsoftware.util.io.JsonWriter
-
For no custom writing to occur for the passed in Class.
- addReader(Class, JsonReader.JsonClassReaderBase) - Method in class com.cedarsoftware.util.io.JsonReader
-
Call this method to add a custom JSON reader to json-io.
- addReaderPermanent(Class, JsonReader.JsonClassReaderBase) - Static method in class com.cedarsoftware.util.io.JsonReader
-
Call this method to add a custom JSON reader to json-io.
- addWriter(Class, JsonWriter.JsonClassWriterBase) - Method in class com.cedarsoftware.util.io.JsonWriter
-
Add a custom writer which will manage writing objects of the passed in Class in JSON format.
- addWriterPermanent(Class, JsonWriter.JsonClassWriterBase) - Static method in class com.cedarsoftware.util.io.JsonWriter
-
Add a permanent Customer Writer (Lifetime of JVM)
- assignField(Deque<JsonObject<String, Object>>, JsonObject, Field, Object) - Method in class com.cedarsoftware.util.io.ObjectResolver
-
Map Json Map object field to Java object field.
- assignInstantiator(Class, JsonReader.Factory) - Static method in class com.cedarsoftware.util.io.JsonReader
-
Assign instantiated by Class.
- assignInstantiator(String, JsonReader.Factory) - Static method in class com.cedarsoftware.util.io.JsonReader
-
For difficult to instantiate classes, you can add your own ClassFactory or ClassFactoryEx which will be called when the passed in class 'c' is encountered.
- AtomicBooleanReader() - Constructor for class com.cedarsoftware.util.io.Readers.AtomicBooleanReader
- AtomicBooleanWriter() - Constructor for class com.cedarsoftware.util.io.Writers.AtomicBooleanWriter
- AtomicIntegerReader() - Constructor for class com.cedarsoftware.util.io.Readers.AtomicIntegerReader
- AtomicIntegerWriter() - Constructor for class com.cedarsoftware.util.io.Writers.AtomicIntegerWriter
- AtomicLongReader() - Constructor for class com.cedarsoftware.util.io.Readers.AtomicLongReader
- AtomicLongWriter() - Constructor for class com.cedarsoftware.util.io.Writers.AtomicLongWriter
B
- bigDecimalFrom(Object) - Static method in class com.cedarsoftware.util.io.Readers
- BigDecimalReader() - Constructor for class com.cedarsoftware.util.io.Readers.BigDecimalReader
- BigDecimalWriter() - Constructor for class com.cedarsoftware.util.io.Writers.BigDecimalWriter
- bigIntegerFrom(Object) - Static method in class com.cedarsoftware.util.io.Readers
- BigIntegerReader() - Constructor for class com.cedarsoftware.util.io.Readers.BigIntegerReader
- BigIntegerWriter() - Constructor for class com.cedarsoftware.util.io.Writers.BigIntegerWriter
C
- CalendarReader() - Constructor for class com.cedarsoftware.util.io.Readers.CalendarReader
- CalendarWriter() - Constructor for class com.cedarsoftware.util.io.Writers.CalendarWriter
- CLASSLOADER - Static variable in class com.cedarsoftware.util.io.JsonReader
-
If set, use the specified ClassLoader
- CLASSLOADER - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
If set, use the specified ClassLoader
- ClassReader() - Constructor for class com.cedarsoftware.util.io.Readers.ClassReader
- ClassWriter() - Constructor for class com.cedarsoftware.util.io.Writers.ClassWriter
- clear() - Method in class com.cedarsoftware.util.io.JsonObject
- close() - Method in class com.cedarsoftware.util.io.JsonReader
- close() - Method in class com.cedarsoftware.util.io.JsonWriter
- col - Variable in class com.cedarsoftware.util.io.FastPushbackBufferedReader
- CollectionFactory() - Constructor for class com.cedarsoftware.util.io.JsonReader.CollectionFactory
- com.cedarsoftware.util.io - package com.cedarsoftware.util.io
- convertParsedMapsToJava(JsonObject) - Method in class com.cedarsoftware.util.io.JsonReader
-
This method converts a root Map, (which contains nested Maps and so forth representing a Java Object graph), to a Java object instance.
- CUSTOM_READER_MAP - Static variable in class com.cedarsoftware.util.io.JsonReader
-
If set, this maps class ==> CustomReader
- CUSTOM_WRITER_MAP - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
If set, this maps class ==> CustomWriter
D
- DATE_FORMAT - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
Set the date format to use within the JSON output
- DateReader() - Constructor for class com.cedarsoftware.util.io.Readers.DateReader
- DateWriter() - Constructor for class com.cedarsoftware.util.io.Writers.DateWriter
E
- ensureJsonPrimitiveKeys(Map) - Static method in class com.cedarsoftware.util.io.JsonWriter
-
Ensure that all keys within the Map are String instances
- ENUM_PUBLIC_ONLY - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
If set, indicates that private variables of ENUMs are not to be serialized
F
- FAIL_ON_UNKNOWN_TYPE - Static variable in class com.cedarsoftware.util.io.JsonReader
-
Will fail JSON parsing if 'type' class defined but is not on classpath.
- FastPushbackBufferedReader - Class in com.cedarsoftware.util.io
-
This class adds significant performance increase over using the JDK PushbackReader.
- FastPushbackBufferedReader(Reader) - Constructor for class com.cedarsoftware.util.io.FastPushbackBufferedReader
- FastPushbackReader - Interface in com.cedarsoftware.util.io
- FIELD_NAME_BLACK_LIST - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
Set value to a Map
> which will be used to control which fields on a class are not output. - FIELD_SPECIFIERS - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
Set value to a Map
> which will be used to control which fields on a class are output - fieldMissing(Object, String, Object) - Method in interface com.cedarsoftware.util.io.JsonReader.MissingFieldHandler
-
Notify that a field is missing.
- flush() - Method in class com.cedarsoftware.util.io.JsonWriter
- FORCE_MAP_FORMAT_ARRAY_KEYS_ITEMS - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
If set to true all maps are transferred to the format @keys[],@items[] regardless of the key_type
- formatJson(String) - Static method in class com.cedarsoftware.util.io.JsonWriter
-
Format the passed in JSON string in a nice, human readable format.
- formatJson(String, Map, Map) - Static method in class com.cedarsoftware.util.io.JsonWriter
-
Format the passed in JSON string in a nice, human readable format.
G
- getArgs() - Method in class com.cedarsoftware.util.io.JsonReader
- getArray() - Method in class com.cedarsoftware.util.io.JsonObject
- getCol() - Method in class com.cedarsoftware.util.io.FastPushbackBufferedReader
- getCol() - Method in interface com.cedarsoftware.util.io.FastPushbackReader
- getCol() - Method in class com.cedarsoftware.util.io.JsonObject
- getComponentType() - Method in class com.cedarsoftware.util.io.JsonObject
- getDeepDeclaredFields(Class) - Static method in class com.cedarsoftware.util.io.MetaUtils
- getDistance(Class, Class) - Static method in class com.cedarsoftware.util.io.MetaUtils
- getField(Class, String) - Static method in class com.cedarsoftware.util.io.MetaUtils
-
Return an instance of of the Java Field class corresponding to the passed in field name.
- getId() - Method in class com.cedarsoftware.util.io.JsonObject
- getLastSnippet() - Method in class com.cedarsoftware.util.io.FastPushbackBufferedReader
- getLastSnippet() - Method in interface com.cedarsoftware.util.io.FastPushbackReader
- getLength() - Method in class com.cedarsoftware.util.io.JsonObject
- getLine() - Method in class com.cedarsoftware.util.io.FastPushbackBufferedReader
- getLine() - Method in interface com.cedarsoftware.util.io.FastPushbackReader
- getLine() - Method in class com.cedarsoftware.util.io.JsonObject
- getLogMessage(String, Object[]) - Static method in class com.cedarsoftware.util.io.MetaUtils
-
Format a nice looking method signature for logging output
- getLogMessage(String, Object[], int) - Static method in class com.cedarsoftware.util.io.MetaUtils
- getObjectsRead() - Method in class com.cedarsoftware.util.io.JsonReader
- getObjectsReferenced() - Method in class com.cedarsoftware.util.io.JsonWriter
-
Provide access to subclasses.
- getObjectsVisited() - Method in class com.cedarsoftware.util.io.JsonWriter
-
Provide access to subclasses.
- getPrimitiveValue() - Method in class com.cedarsoftware.util.io.JsonObject
- getRawType(Type) - Static method in class com.cedarsoftware.util.io.ObjectResolver
-
Given the passed in Type t, return the raw type of it, if the passed in value is a ParameterizedType.
- getReader(Map<String, Object>) - Static method in class com.cedarsoftware.util.io.JsonReader.JsonClassReaderEx.Support
-
Call this method to get an instance of the JsonReader (if needed) inside your custom reader.
- getReferenceId() - Method in class com.cedarsoftware.util.io.JsonObject
- getRefTarget(JsonObject) - Method in class com.cedarsoftware.util.io.JsonReader
- getSubstituteTypeName(String) - Method in class com.cedarsoftware.util.io.JsonWriter
-
Used internally to substitute type names.
- getSubstituteTypeNameIfExists(String) - Method in class com.cedarsoftware.util.io.JsonWriter
-
Used internally to substitute type names.
- getTarget() - Method in class com.cedarsoftware.util.io.JsonObject
- getTargetClass() - Method in class com.cedarsoftware.util.io.JsonObject
- getType() - Method in class com.cedarsoftware.util.io.JsonObject
- getWriter(Map<String, Object>) - Static method in class com.cedarsoftware.util.io.JsonWriter.JsonClassWriterEx.Support
-
This method will return the JsonWriter instance performing the overall work.
H
- handleMissingField(Deque<JsonObject<String, Object>>, JsonObject, Object, String) - Method in class com.cedarsoftware.util.io.ObjectResolver
-
Try to create an java object from the missing field.
- hasId() - Method in class com.cedarsoftware.util.io.JsonObject
- hasPrimitiveForm() - Method in interface com.cedarsoftware.util.io.JsonWriter.JsonClassWriter
- hasPrimitiveForm() - Method in class com.cedarsoftware.util.io.Writers.AtomicBooleanWriter
- hasPrimitiveForm() - Method in class com.cedarsoftware.util.io.Writers.AtomicIntegerWriter
- hasPrimitiveForm() - Method in class com.cedarsoftware.util.io.Writers.AtomicLongWriter
- hasPrimitiveForm() - Method in class com.cedarsoftware.util.io.Writers.BigDecimalWriter
- hasPrimitiveForm() - Method in class com.cedarsoftware.util.io.Writers.BigIntegerWriter
- hasPrimitiveForm() - Method in class com.cedarsoftware.util.io.Writers.CalendarWriter
- hasPrimitiveForm() - Method in class com.cedarsoftware.util.io.Writers.ClassWriter
- hasPrimitiveForm() - Method in class com.cedarsoftware.util.io.Writers.DateWriter
- hasPrimitiveForm() - Method in class com.cedarsoftware.util.io.Writers.JsonStringWriter
- hasPrimitiveForm() - Method in class com.cedarsoftware.util.io.Writers.LocaleWriter
- hasPrimitiveForm() - Method in class com.cedarsoftware.util.io.Writers.StringBufferWriter
- hasPrimitiveForm() - Method in class com.cedarsoftware.util.io.Writers.StringBuilderWriter
- hasPrimitiveForm() - Method in class com.cedarsoftware.util.io.Writers.TimestampWriter
- hasPrimitiveForm() - Method in class com.cedarsoftware.util.io.Writers.TimeZoneWriter
I
- ID - Static variable in class com.cedarsoftware.util.io.JsonObject
- isAllowNanAndInfinity() - Static method in class com.cedarsoftware.util.io.JsonReader
- isAllowNanAndInfinity() - Static method in class com.cedarsoftware.util.io.JsonWriter
- isArray() - Method in class com.cedarsoftware.util.io.JsonObject
- isCollection() - Method in class com.cedarsoftware.util.io.JsonObject
- isLogicalPrimitive() - Method in class com.cedarsoftware.util.io.JsonObject
- isLogicalPrimitive(Class) - Static method in class com.cedarsoftware.util.io.MetaUtils
- isMap() - Method in class com.cedarsoftware.util.io.JsonObject
- ISO_DATE_FORMAT - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
Constant for use as DATE_FORMAT value
- ISO_DATE_TIME_FORMAT - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
Constant for use as DATE_FORMAT value
- isPrimitive(Class) - Static method in class com.cedarsoftware.util.io.MetaUtils
- isReference() - Method in class com.cedarsoftware.util.io.JsonObject
- ITEMS - Static variable in class com.cedarsoftware.util.io.JsonObject
J
- JSON_READER - Static variable in class com.cedarsoftware.util.io.JsonReader
-
Pointer to 'this' (automatically placed in the Map)
- JSON_WRITER - Static variable in interface com.cedarsoftware.util.io.JsonWriter.JsonClassWriterEx
- JsonIoException - Exception in com.cedarsoftware.util.io
-
Custom RuntimeException subclass that is used as the main exception thrown by json-io.
- JsonIoException() - Constructor for exception com.cedarsoftware.util.io.JsonIoException
-
Constructs a new runtime exception with
null
as its detail message. - JsonIoException(String) - Constructor for exception com.cedarsoftware.util.io.JsonIoException
-
Constructs a new runtime exception with the specified detail message.
- JsonIoException(String, Throwable) - Constructor for exception com.cedarsoftware.util.io.JsonIoException
-
Constructs a new runtime exception with the specified detail message and cause.
- JsonIoException(Throwable) - Constructor for exception com.cedarsoftware.util.io.JsonIoException
-
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
- JsonObject<K,V> - Class in com.cedarsoftware.util.io
-
This class holds a JSON object in a LinkedHashMap.
- JsonObject() - Constructor for class com.cedarsoftware.util.io.JsonObject
- jsonObjectsToJava(JsonObject) - Method in class com.cedarsoftware.util.io.JsonReader
-
Convert a root JsonObject that represents parsed JSON, into an actual Java object.
- JsonReader - Class in com.cedarsoftware.util.io
-
Read an object graph in JSON format and make it available in Java objects, or in a "Map of Maps." (untyped representation).
- JsonReader() - Constructor for class com.cedarsoftware.util.io.JsonReader
- JsonReader(byte[], Map<String, Object>) - Constructor for class com.cedarsoftware.util.io.JsonReader
- JsonReader(InputStream) - Constructor for class com.cedarsoftware.util.io.JsonReader
- JsonReader(InputStream, boolean) - Constructor for class com.cedarsoftware.util.io.JsonReader
- JsonReader(InputStream, Map<String, Object>) - Constructor for class com.cedarsoftware.util.io.JsonReader
- JsonReader(String, Map<String, Object>) - Constructor for class com.cedarsoftware.util.io.JsonReader
- JsonReader(Map<String, Object>) - Constructor for class com.cedarsoftware.util.io.JsonReader
-
Use this constructor if you already have a JsonObject graph and want to parse it into Java objects by calling jsonReader.jsonObjectsToJava(rootJsonObject) after constructing the JsonReader.
- JsonReader.ClassFactory - Interface in com.cedarsoftware.util.io
-
Subclass this interface and create a class that will return a new instance of the passed in Class (c).
- JsonReader.ClassFactoryEx - Interface in com.cedarsoftware.util.io
-
Subclass this interface and create a class that will return a new instance of the passed in Class (c).
- JsonReader.CollectionFactory - Class in com.cedarsoftware.util.io
-
Use to create new instances of collection interfaces (needed for empty collections)
- JsonReader.Factory - Interface in com.cedarsoftware.util.io
-
Common ancestor for ClassFactory and ClassFactoryEx.
- JsonReader.JsonClassReader - Interface in com.cedarsoftware.util.io
-
Implement this interface to add a custom JSON reader.
- JsonReader.JsonClassReaderBase - Interface in com.cedarsoftware.util.io
-
Common ancestor for JsonClassReader and JsonClassReaderEx.
- JsonReader.JsonClassReaderEx - Interface in com.cedarsoftware.util.io
-
Implement this interface to add a custom JSON reader.
- JsonReader.JsonClassReaderEx.Support - Class in com.cedarsoftware.util.io
-
Allow custom readers to have access to the JsonReader
- JsonReader.MapFactory - Class in com.cedarsoftware.util.io
-
Use to create new instances of Map interfaces (needed for empty Maps).
- JsonReader.MissingFieldHandler - Interface in com.cedarsoftware.util.io
-
Used to react to fields missing when reading an object.
- JsonStringWriter() - Constructor for class com.cedarsoftware.util.io.Writers.JsonStringWriter
- jsonToJava(InputStream, Map<String, Object>) - Static method in class com.cedarsoftware.util.io.JsonReader
-
Convert the passed in JSON string into a Java object graph.
- jsonToJava(String) - Static method in class com.cedarsoftware.util.io.JsonReader
-
Convert the passed in JSON string into a Java object graph.
- jsonToJava(String, Map<String, Object>) - Static method in class com.cedarsoftware.util.io.JsonReader
-
Convert the passed in JSON string into a Java object graph.
- jsonToMaps(InputStream, Map<String, Object>) - Static method in class com.cedarsoftware.util.io.JsonReader
-
Map args = ["USE_MAPS": true] Use JsonReader.jsonToJava(inputStream, args) Note that the return type will match the JSON type (array, object, string, long, boolean, or null).
- jsonToMaps(String) - Static method in class com.cedarsoftware.util.io.JsonReader
-
Map args = ["USE_MAPS": true] Use JsonReader.jsonToJava(String json, args) Note that the return type will match the JSON type (array, object, string, long, boolean, or null).
- jsonToMaps(String, Map<String, Object>) - Static method in class com.cedarsoftware.util.io.JsonReader
-
Map args = ["USE_MAPS": true] Use JsonReader.jsonToJava(String json, args) Note that the return type will match the JSON type (array, object, string, long, boolean, or null).
- JsonWriter - Class in com.cedarsoftware.util.io
-
Output a Java object graph in JSON format.
- JsonWriter(OutputStream) - Constructor for class com.cedarsoftware.util.io.JsonWriter
- JsonWriter(OutputStream, Map<String, Object>) - Constructor for class com.cedarsoftware.util.io.JsonWriter
- JsonWriter.JsonClassWriter - Interface in com.cedarsoftware.util.io
-
Implement this interface to customize the JSON output for a given class.
- JsonWriter.JsonClassWriterBase - Interface in com.cedarsoftware.util.io
-
Common ancestor for JsonClassWriter and JsonClassWriterEx.
- JsonWriter.JsonClassWriterEx - Interface in com.cedarsoftware.util.io
-
Implement this interface to customize the JSON output for a given class.
- JsonWriter.JsonClassWriterEx.Support - Class in com.cedarsoftware.util.io
-
If access to the JsonWriter is needed, JsonClassWriter's can access it by accessing Support.getWriter(args).
K
- KEYS - Static variable in class com.cedarsoftware.util.io.JsonObject
L
- line - Variable in class com.cedarsoftware.util.io.FastPushbackBufferedReader
- LocaleReader() - Constructor for class com.cedarsoftware.util.io.Readers.LocaleReader
- LocaleWriter() - Constructor for class com.cedarsoftware.util.io.Writers.LocaleWriter
M
- MapFactory() - Constructor for class com.cedarsoftware.util.io.JsonReader.MapFactory
- MapResolver - Class in com.cedarsoftware.util.io
-
The MapResolver converts the raw Maps created from the JsonParser to higher quality Maps representing the implied object graph.
- MapResolver(JsonReader) - Constructor for class com.cedarsoftware.util.io.MapResolver
- MetaUtils - Class in com.cedarsoftware.util.io
-
This utility class has the methods mostly related to reflection related code.
- MISSING_FIELD_HANDLER - Static variable in class com.cedarsoftware.util.io.JsonReader
-
If set, this object will be called when a field is present in the JSON but missing from the corresponding class
- missingFieldHandler - Variable in class com.cedarsoftware.util.io.JsonReader
- missingFieldHandler - Variable in class com.cedarsoftware.util.io.ObjectResolver
N
- newInstance(Class) - Method in interface com.cedarsoftware.util.io.JsonReader.ClassFactory
- newInstance(Class) - Method in class com.cedarsoftware.util.io.JsonReader.CollectionFactory
- newInstance(Class) - Method in class com.cedarsoftware.util.io.JsonReader.MapFactory
- newInstance(Class) - Static method in class com.cedarsoftware.util.io.JsonReader
- newInstance(Class) - Static method in class com.cedarsoftware.util.io.MetaUtils
-
C language malloc() for Java
- newInstance(Class, JsonObject) - Static method in class com.cedarsoftware.util.io.JsonReader
- newInstance(Class, Map) - Method in interface com.cedarsoftware.util.io.JsonReader.ClassFactoryEx
- newLine() - Method in class com.cedarsoftware.util.io.JsonWriter
-
Add newline (\n) to output
- NOT_CUSTOM_READER_MAP - Static variable in class com.cedarsoftware.util.io.JsonReader
-
If set, this indicates that no custom reader should be used for the specified class ==> CustomReader
- NOT_CUSTOM_WRITER_MAP - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
If set, this maps class ==> CustomWriter
- notCustom - Variable in class com.cedarsoftware.util.io.JsonReader
O
- OBJECT_RESOLVER - Static variable in class com.cedarsoftware.util.io.JsonReader
-
Pointer to the current ObjectResolver (automatically placed in the Map)
- ObjectResolver - Class in com.cedarsoftware.util.io
-
The ObjectResolver converts the raw Maps created from the JsonParser to Java objects (a graph of Java instances).
- ObjectResolver(JsonReader, ClassLoader) - Constructor for class com.cedarsoftware.util.io.ObjectResolver
-
Constructor
- objectToJson(Object) - Static method in class com.cedarsoftware.util.io.JsonWriter
- objectToJson(Object, Map<String, Object>) - Static method in class com.cedarsoftware.util.io.JsonWriter
-
Convert a Java Object to a JSON String.
P
- PRETTY_PRINT - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
Force nicely formatted JSON output
- put(K, V) - Method in class com.cedarsoftware.util.io.JsonObject
R
- read() - Method in class com.cedarsoftware.util.io.FastPushbackBufferedReader
- read() - Method in interface com.cedarsoftware.util.io.FastPushbackReader
- read(Object, Deque<JsonObject<String, Object>>) - Method in interface com.cedarsoftware.util.io.JsonReader.JsonClassReader
- read(Object, Deque<JsonObject<String, Object>>, Map<String, Object>) - Method in interface com.cedarsoftware.util.io.JsonReader.JsonClassReaderEx
- read(Object, Deque<JsonObject<String, Object>>, Map<String, Object>) - Method in class com.cedarsoftware.util.io.Readers.AtomicBooleanReader
- read(Object, Deque<JsonObject<String, Object>>, Map<String, Object>) - Method in class com.cedarsoftware.util.io.Readers.AtomicIntegerReader
- read(Object, Deque<JsonObject<String, Object>>, Map<String, Object>) - Method in class com.cedarsoftware.util.io.Readers.AtomicLongReader
- read(Object, Deque<JsonObject<String, Object>>, Map<String, Object>) - Method in class com.cedarsoftware.util.io.Readers.BigDecimalReader
- read(Object, Deque<JsonObject<String, Object>>, Map<String, Object>) - Method in class com.cedarsoftware.util.io.Readers.BigIntegerReader
- read(Object, Deque<JsonObject<String, Object>>, Map<String, Object>) - Method in class com.cedarsoftware.util.io.Readers.CalendarReader
- read(Object, Deque<JsonObject<String, Object>>, Map<String, Object>) - Method in class com.cedarsoftware.util.io.Readers.ClassReader
- read(Object, Deque<JsonObject<String, Object>>, Map<String, Object>) - Method in class com.cedarsoftware.util.io.Readers.DateReader
- read(Object, Deque<JsonObject<String, Object>>, Map<String, Object>) - Method in class com.cedarsoftware.util.io.Readers.LocaleReader
- read(Object, Deque<JsonObject<String, Object>>, Map<String, Object>) - Method in class com.cedarsoftware.util.io.Readers.SqlDateReader
- read(Object, Deque<JsonObject<String, Object>>, Map<String, Object>) - Method in class com.cedarsoftware.util.io.Readers.StringBufferReader
- read(Object, Deque<JsonObject<String, Object>>, Map<String, Object>) - Method in class com.cedarsoftware.util.io.Readers.StringBuilderReader
- read(Object, Deque<JsonObject<String, Object>>, Map<String, Object>) - Method in class com.cedarsoftware.util.io.Readers.StringReader
- read(Object, Deque<JsonObject<String, Object>>, Map<String, Object>) - Method in class com.cedarsoftware.util.io.Readers.TimestampReader
- read(Object, Deque<JsonObject<String, Object>>, Map<String, Object>) - Method in class com.cedarsoftware.util.io.Readers.TimeZoneReader
- readers - Variable in class com.cedarsoftware.util.io.JsonReader
- Readers - Class in com.cedarsoftware.util.io
-
All custom readers for json-io subclass this class.
- Readers.AtomicBooleanReader - Class in com.cedarsoftware.util.io
- Readers.AtomicIntegerReader - Class in com.cedarsoftware.util.io
- Readers.AtomicLongReader - Class in com.cedarsoftware.util.io
- Readers.BigDecimalReader - Class in com.cedarsoftware.util.io
- Readers.BigIntegerReader - Class in com.cedarsoftware.util.io
- Readers.CalendarReader - Class in com.cedarsoftware.util.io
- Readers.ClassReader - Class in com.cedarsoftware.util.io
- Readers.DateReader - Class in com.cedarsoftware.util.io
- Readers.LocaleReader - Class in com.cedarsoftware.util.io
- Readers.SqlDateReader - Class in com.cedarsoftware.util.io
- Readers.StringBufferReader - Class in com.cedarsoftware.util.io
- Readers.StringBuilderReader - Class in com.cedarsoftware.util.io
- Readers.StringReader - Class in com.cedarsoftware.util.io
- Readers.TimestampReader - Class in com.cedarsoftware.util.io
- Readers.TimeZoneReader - Class in com.cedarsoftware.util.io
- readIfMatching(Object, Class, Deque<JsonObject<String, Object>>) - Method in class com.cedarsoftware.util.io.MapResolver
- readIfMatching(Object, Class, Deque<JsonObject<String, Object>>) - Method in class com.cedarsoftware.util.io.ObjectResolver
-
Convert the passed in object (o) to a proper Java object.
- readObject() - Method in class com.cedarsoftware.util.io.JsonReader
-
Read JSON input from the stream that was set up in the constructor, turning it into Java Maps (JsonObject's).
- REF - Static variable in class com.cedarsoftware.util.io.JsonObject
S
- setAllowNanAndInfinity(boolean) - Static method in class com.cedarsoftware.util.io.JsonReader
-
Set the reader to be out of RFC 4627: it will accept "NaN", "-Infinity" and "Infinity" values.
- setAllowNanAndInfinity(boolean) - Static method in class com.cedarsoftware.util.io.JsonWriter
-
Set the writer to be out of RFC 4627: it will accept "NaN", "-Infinity" and "Infinity" values.
- setMissingFieldHandler(JsonReader.MissingFieldHandler) - Method in class com.cedarsoftware.util.io.JsonReader
- setTarget(Object) - Method in class com.cedarsoftware.util.io.JsonObject
- setType(String) - Method in class com.cedarsoftware.util.io.JsonObject
- setUseUnsafe(boolean) - Static method in class com.cedarsoftware.util.io.MetaUtils
-
Globally turn on (or off) the 'unsafe' option of Class construction.
- SHORT_META_KEYS - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
If set, then @type -> @t, @keys -> @k, @items -> @i
- size() - Method in class com.cedarsoftware.util.io.JsonObject
- SKIP_NULL_FIELDS - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
If set, null fields are not written
- SqlDateReader() - Constructor for class com.cedarsoftware.util.io.Readers.SqlDateReader
- StringBufferReader() - Constructor for class com.cedarsoftware.util.io.Readers.StringBufferReader
- StringBufferWriter() - Constructor for class com.cedarsoftware.util.io.Writers.StringBufferWriter
- StringBuilderReader() - Constructor for class com.cedarsoftware.util.io.Readers.StringBuilderReader
- StringBuilderWriter() - Constructor for class com.cedarsoftware.util.io.Writers.StringBuilderWriter
- StringReader() - Constructor for class com.cedarsoftware.util.io.Readers.StringReader
- Support() - Constructor for class com.cedarsoftware.util.io.JsonReader.JsonClassReaderEx.Support
- Support() - Constructor for class com.cedarsoftware.util.io.JsonWriter.JsonClassWriterEx.Support
T
- tabIn() - Method in class com.cedarsoftware.util.io.JsonWriter
-
Tab the output left (less indented)
- tabOut() - Method in class com.cedarsoftware.util.io.JsonWriter
-
Tab the output right (more indented)
- TimestampReader() - Constructor for class com.cedarsoftware.util.io.Readers.TimestampReader
- TimestampWriter() - Constructor for class com.cedarsoftware.util.io.Writers.TimestampWriter
- TimeZoneReader() - Constructor for class com.cedarsoftware.util.io.Readers.TimeZoneReader
- TimeZoneWriter() - Constructor for class com.cedarsoftware.util.io.Writers.TimeZoneWriter
- traceFields(Deque<Object>, Object, Map<Class, List<Field>>) - Method in class com.cedarsoftware.util.io.JsonWriter
-
Reach-ability trace to visit all objects within the graph to be written.
- traceReferences(Object) - Method in class com.cedarsoftware.util.io.JsonWriter
-
Walk object graph and visit each instance, following each field, each Collection, Map and so on.
- traverseArray(Deque<JsonObject<String, Object>>, JsonObject<String, Object>) - Method in class com.cedarsoftware.util.io.MapResolver
- traverseArray(Deque<JsonObject<String, Object>>, JsonObject<String, Object>) - Method in class com.cedarsoftware.util.io.ObjectResolver
-
Traverse the JsonObject associated to an array (of any type).
- traverseCollection(Deque<JsonObject<String, Object>>, JsonObject<String, Object>) - Method in class com.cedarsoftware.util.io.MapResolver
-
Process java.util.Collection and it's derivatives.
- traverseCollection(Deque<JsonObject<String, Object>>, JsonObject<String, Object>) - Method in class com.cedarsoftware.util.io.ObjectResolver
-
Process java.util.Collection and it's derivatives.
- traverseFields(Deque<JsonObject<String, Object>>, JsonObject<String, Object>) - Method in class com.cedarsoftware.util.io.MapResolver
-
Walk the JsonObject fields and perform necessary substitutions so that all references matched up.
- traverseFields(Deque<JsonObject<String, Object>>, JsonObject<String, Object>) - Method in class com.cedarsoftware.util.io.ObjectResolver
-
Walk the Java object fields and copy them from the JSON object to the Java object, performing any necessary conversions on primitives, or deep traversals for field assignments to other objects, arrays, Collections, or Maps.
- TYPE - Static variable in class com.cedarsoftware.util.io.JsonObject
- TYPE - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
Force @type always
- TYPE_NAME_MAP - Static variable in class com.cedarsoftware.util.io.JsonReader
-
If set, this map will be used when writing @type values - allows short-hand abbreviations type names
- TYPE_NAME_MAP - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
If set, this map will be used when writing @type values - allows short-hand abbreviations type names
U
- UNKNOWN_OBJECT - Static variable in class com.cedarsoftware.util.io.JsonReader
-
What to do when an object is found and 'type' cannot be determined.
- unread(int) - Method in class com.cedarsoftware.util.io.FastPushbackBufferedReader
- unread(int) - Method in interface com.cedarsoftware.util.io.FastPushbackReader
- USE_MAPS - Static variable in class com.cedarsoftware.util.io.JsonReader
-
If set, the read-in JSON will be turned into a Map of Maps (JsonObject) representation
- useMaps() - Method in class com.cedarsoftware.util.io.JsonReader
W
- write(Object) - Method in class com.cedarsoftware.util.io.JsonWriter
-
Write the passed in Java object in JSON format.
- write(Object, boolean, Writer) - Method in interface com.cedarsoftware.util.io.JsonWriter.JsonClassWriter
-
When write() is called, it is expected that subclasses will write the appropriate JSON to the passed in Writer.
- write(Object, boolean, Writer) - Method in class com.cedarsoftware.util.io.Writers.AtomicBooleanWriter
- write(Object, boolean, Writer) - Method in class com.cedarsoftware.util.io.Writers.AtomicIntegerWriter
- write(Object, boolean, Writer) - Method in class com.cedarsoftware.util.io.Writers.AtomicLongWriter
- write(Object, boolean, Writer) - Method in class com.cedarsoftware.util.io.Writers.BigDecimalWriter
- write(Object, boolean, Writer) - Method in class com.cedarsoftware.util.io.Writers.BigIntegerWriter
- write(Object, boolean, Writer) - Method in class com.cedarsoftware.util.io.Writers.CalendarWriter
- write(Object, boolean, Writer) - Method in class com.cedarsoftware.util.io.Writers.ClassWriter
- write(Object, boolean, Writer) - Method in class com.cedarsoftware.util.io.Writers.DateWriter
- write(Object, boolean, Writer) - Method in class com.cedarsoftware.util.io.Writers.JsonStringWriter
- write(Object, boolean, Writer) - Method in class com.cedarsoftware.util.io.Writers.LocaleWriter
- write(Object, boolean, Writer) - Method in class com.cedarsoftware.util.io.Writers.StringBufferWriter
- write(Object, boolean, Writer) - Method in class com.cedarsoftware.util.io.Writers.StringBuilderWriter
- write(Object, boolean, Writer) - Method in class com.cedarsoftware.util.io.Writers.TimestampWriter
- write(Object, boolean, Writer) - Method in class com.cedarsoftware.util.io.Writers.TimeZoneWriter
- write(Object, boolean, Writer, Map) - Method in class com.cedarsoftware.util.io.Writers.DateWriter
- write(Object, boolean, Writer, Map<String, Object>) - Method in interface com.cedarsoftware.util.io.JsonWriter.JsonClassWriterEx
-
When write() is called, it is expected that subclasses will write the appropriate JSON to the passed in Writer.
- WRITE_LONGS_AS_STRINGS - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
If set, longs are written in quotes (Javascript safe)
- writeArrayElementIfMatching(Class, Object, boolean, Writer) - Method in class com.cedarsoftware.util.io.JsonWriter
-
Write the passed in array element to the JSON output, if any only if, there is a customer writer for the class of the instance 'o'.
- writeCustom(Class, Object, boolean, Writer) - Method in class com.cedarsoftware.util.io.JsonWriter
-
Perform the actual custom writing for an array element that has a custom writer.
- writeIfMatching(Object, boolean, Writer) - Method in class com.cedarsoftware.util.io.JsonWriter
-
Write the passed in object (o) to the JSON output stream, if and only if, there is a custom writer associated to the Class of object (o).
- writeImpl(Object, boolean) - Method in class com.cedarsoftware.util.io.JsonWriter
-
Main entry point (mostly used internally, but may be called from a Custom JSON writer).
- writeImpl(Object, boolean, boolean, boolean) - Method in class com.cedarsoftware.util.io.JsonWriter
-
Main entry point (mostly used internally, but may be called from a Custom JSON writer).
- writeJsonUtf8String(String, Writer) - Static method in class com.cedarsoftware.util.io.JsonWriter
-
Write out special characters "\b, \f, \t, \n, \r", as such, backslash as \\ quote as \" and values less than an ASCII space (20hex) as "\\u00xx" format, characters in the range of ASCII space to a '~' as ASCII, and anything higher in UTF-8.
- writeJsonUtf8String(String, Writer) - Static method in class com.cedarsoftware.util.io.Writers
- writeObject(Object, boolean, boolean) - Method in class com.cedarsoftware.util.io.JsonWriter
- writePrimitiveForm(Object, Writer) - Method in interface com.cedarsoftware.util.io.JsonWriter.JsonClassWriter
-
This method will be called to write the item in primitive form (if the response to hasPrimitiveForm() was true).
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.util.io.Writers.AtomicBooleanWriter
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.util.io.Writers.AtomicIntegerWriter
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.util.io.Writers.AtomicLongWriter
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.util.io.Writers.BigDecimalWriter
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.util.io.Writers.BigIntegerWriter
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.util.io.Writers.CalendarWriter
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.util.io.Writers.ClassWriter
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.util.io.Writers.DateWriter
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.util.io.Writers.JsonStringWriter
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.util.io.Writers.LocaleWriter
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.util.io.Writers.StringBufferWriter
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.util.io.Writers.StringBuilderWriter
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.util.io.Writers.TimestampWriter
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.util.io.Writers.TimeZoneWriter
- writePrimitiveForm(Object, Writer, Map) - Method in class com.cedarsoftware.util.io.Writers.DateWriter
- Writers - Class in com.cedarsoftware.util.io
-
All custom writers for json-io subclass this class.
- Writers.AtomicBooleanWriter - Class in com.cedarsoftware.util.io
- Writers.AtomicIntegerWriter - Class in com.cedarsoftware.util.io
- Writers.AtomicLongWriter - Class in com.cedarsoftware.util.io
- Writers.BigDecimalWriter - Class in com.cedarsoftware.util.io
- Writers.BigIntegerWriter - Class in com.cedarsoftware.util.io
- Writers.CalendarWriter - Class in com.cedarsoftware.util.io
- Writers.ClassWriter - Class in com.cedarsoftware.util.io
- Writers.DateWriter - Class in com.cedarsoftware.util.io
- Writers.JsonStringWriter - Class in com.cedarsoftware.util.io
- Writers.LocaleWriter - Class in com.cedarsoftware.util.io
- Writers.StringBufferWriter - Class in com.cedarsoftware.util.io
- Writers.StringBuilderWriter - Class in com.cedarsoftware.util.io
- Writers.TimestampWriter - Class in com.cedarsoftware.util.io
- Writers.TimeZoneWriter - Class in com.cedarsoftware.util.io
All Classes All Packages