- Accessor - Class in com.cedarsoftware.io.reflect
-
- AccessorFactory - Interface in com.cedarsoftware.io.reflect
-
- AccessorMethodFilter - Class in com.cedarsoftware.io.reflect.filters.method
-
- AccessorMethodFilter() - Constructor for class com.cedarsoftware.io.reflect.filters.method.AccessorMethodFilter
-
- addClassFactory(Class<?>, JsonReader.ClassFactory) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Associate a ClassFactory to a Class that needs help being constructed and read in.
- addConverterOverride(Class<?>, Class<?>, Convert<?>) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
- addCustomOption(String, Object) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Add a custom option, which may be useful when writing custom readers.
- addCustomOption(String, Object) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Add a custom option, which may be useful when writing custom writers.
- addCustomReaderClass(Class<?>, JsonReader.JsonClassReader) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
- addCustomWrittenClass(Class<?>, JsonWriter.JsonClassWriter) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- addCustomWrittenClasses(Map<Class<?>, JsonWriter.JsonClassWriter>) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- addExcludedField(Class<?>, String) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- addExcludedFields(Class<?>, Collection<String>) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- addExcludedFields(Map<Class<?>, Collection<String>>) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- addFilter(FieldFilter) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- addFilteredMethodName(String) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- addFilteredMethodNames(Collection<String>) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- addIncludedField(Class<?>, String) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- addIncludedFields(Class<?>, Collection<String>) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- addIncludedFields(Map<Class<?>, Collection<String>>) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- addNonReferenceableClass(Class<?>) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
- addNonReferenceableClass(Class<?>) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- addNonReferenceableClasses(Collection<Class<?>>) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- addNonStandardMapping(Class<?>, String, String) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- addNonStandardMappings(Map<Class<?>, Map<String, String>>) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- addNotCustomReaderClass(Class<?>) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Add a class to the not-customized list - the list of classes that you do not want to be picked up by a
custom reader (that could happen through inheritance).
- addNotCustomWrittenClass(Class<?>) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Add a class to the not-customized list - the list of classes that you do not want to be picked up by a
custom writer (that could happen through inheritance).
- addPermanentAlias(Class<?>, String) - Static method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Call this method to add a permanent (JVM lifetime) alias of a class to an often shorter, name.
- addPermanentAlias(Class<?>, String) - Static method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Call this method to add a permanent (JVM lifetime) alias of a class to an often shorter, name.
- addPermanentAlias(Class<?>) - Static method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Call this method to add a permanent (JVM lifetime) alias of a class to an often shorter, name.
- addPermanentClassFactory(Class<?>, JsonReader.ClassFactory) - Static method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Call this method to add a permanent (JVM lifetime) coercion of one
class to another during instance creation.
- addPermanentCoercedType(Class<?>, Class<?>) - Static method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Call this method to add a permanent (JVM lifetime) coercion of one
class to another during instance creation.
- addPermanentNonRef(Class<?>) - Static method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Call this method to add a permanent (JVM lifetime) class that should not be treated as referencable
when being written out to JSON.
- addPermanentReader(Class<?>, JsonReader.JsonClassReader) - Static method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Call this method to add a custom JSON reader to json-io.
- addPermanentWriter(Class<?>, JsonWriter.JsonClassWriter) - Static method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Call this method to add a custom JSON writer to json-io.
- aliasTypeName(Class<?>, String) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
- aliasTypeName(String, String) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
- aliasTypeName(Class<?>) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Aliases the fully qualified class name to its short name
- aliasTypeName(Class<?>, String) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- aliasTypeName(String, String) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- aliasTypeNames(Map<String, String>) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
- aliasTypeNames(Map<String, String>) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- allowNanAndInfinity(boolean) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
- allowNanAndInfinity(boolean) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- ArgumentHelper - Class in com.cedarsoftware.io
-
- ArgumentHelper() - Constructor for class com.cedarsoftware.io.ArgumentHelper
-
- ArrayFactory<T> - Class in com.cedarsoftware.io.factory
-
- ArrayFactory(Class<T>) - Constructor for class com.cedarsoftware.io.factory.ArrayFactory
-
- assignField(Deque<JsonObject>, JsonObject, Injector, Object) - Method in class com.cedarsoftware.io.ObjectResolver
-
Map Json Map object field to Java object field.
- assignInstantiator(Class<?>, JsonReader.ClassFactory) - Static method in class com.cedarsoftware.io.ReadOptionsBuilder
-
- CalendarWriter() - Constructor for class com.cedarsoftware.io.Writers.CalendarWriter
-
- CharacterPrimArrayFactory - Class in com.cedarsoftware.io.factory
-
- CharacterPrimArrayFactory() - Constructor for class com.cedarsoftware.io.factory.CharacterPrimArrayFactory
-
- CharacterWriter() - Constructor for class com.cedarsoftware.io.Writers.CharacterWriter
-
- CLASS_LOADER_NAME - Static variable in class com.cedarsoftware.io.factory.StackTraceElementFactory
-
- classLoader(ClassLoader) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
- classLoader(ClassLoader) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- CLASSLOADER - Static variable in class com.cedarsoftware.util.io.JsonReader
-
Deprecated.
If set, use the specified ClassLoader
- CLASSLOADER - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
Deprecated.
If set, use the specified ClassLoader
- ClassWriter() - Constructor for class com.cedarsoftware.io.Writers.ClassWriter
-
- cleanup() - Method in class com.cedarsoftware.io.Resolver
-
- clear() - Method in class com.cedarsoftware.io.JsonObject
-
- clear() - Method in interface com.cedarsoftware.io.ReferenceTracker
-
- clearCaches() - Method in interface com.cedarsoftware.io.ReadOptions
-
- clearCaches() - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultReadOptions
-
- clearCaches() - Method in interface com.cedarsoftware.io.WriteOptions
-
- clearCaches() - Method in class com.cedarsoftware.io.WriteOptionsBuilder.DefaultWriteOptions
-
- close() - Method in class com.cedarsoftware.io.JsonReader
-
- close() - Method in class com.cedarsoftware.io.JsonWriter
-
- closeStream(boolean) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
- closeStream(boolean) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- coerceClass(String, Class<?>) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Coerce a class from one type (named in the JSON) to another type.
- coerceClassIfNeeded(Class<?>) - Method in class com.cedarsoftware.io.Resolver
-
- col - Variable in class com.cedarsoftware.io.JsonValue
-
- CollectionFactory - Class in com.cedarsoftware.io.factory
-
Deprecated.
- CollectionFactory() - Constructor for class com.cedarsoftware.io.factory.CollectionFactory
-
Deprecated.
- com.cedarsoftware.io - package com.cedarsoftware.io
-
- com.cedarsoftware.io.factory - package com.cedarsoftware.io.factory
-
- com.cedarsoftware.io.reflect - package com.cedarsoftware.io.reflect
-
- com.cedarsoftware.io.reflect.factories - package com.cedarsoftware.io.reflect.factories
-
- com.cedarsoftware.io.reflect.filters - package com.cedarsoftware.io.reflect.filters
-
- com.cedarsoftware.io.reflect.filters.field - package com.cedarsoftware.io.reflect.filters.field
-
- com.cedarsoftware.io.reflect.filters.method - package com.cedarsoftware.io.reflect.filters.method
-
- com.cedarsoftware.io.writers - package com.cedarsoftware.io.writers
-
- com.cedarsoftware.util.io - package com.cedarsoftware.util.io
-
- commaSeparatedStringToSet(String) - Static method in class com.cedarsoftware.io.MetaUtils
-
- containsKey(Object) - Method in class com.cedarsoftware.io.JsonObject
-
- containsValue(Object) - Method in class com.cedarsoftware.io.JsonObject
-
- ConvertableFactory<T> - Class in com.cedarsoftware.io.factory
-
- ConvertableFactory(Class<? extends T>) - Constructor for class com.cedarsoftware.io.factory.ConvertableFactory
-
- convertJsonValuesToJava(JsonObject) - Method in class com.cedarsoftware.io.Resolver
-
Walk a JsonObject (Map of String keys to values) and return the
Java object equivalent filled in as best as possible (everything
except unresolved reference fields or unresolved array/collection elements).
- convertJsonValueToJava(JsonObject, Class<T>) - Method in class com.cedarsoftware.io.JsonReader
-
This method converts a rootObj Map, (which contains nested Maps
and so forth representing a Java Object graph), to a Java
object instance.
- convertMapToKeysItems(JsonObject) - Static method in class com.cedarsoftware.io.Resolver
-
Convert an input JsonObject map (known to represent a Map.class or derivative) that has regular keys and values
to have its keys placed into @keys, and its values placed into @items.
- create(Field, String) - Static method in class com.cedarsoftware.io.reflect.Accessor
-
- create(Field, String, String) - Static method in class com.cedarsoftware.io.reflect.Accessor
-
- create(Field, String) - Static method in class com.cedarsoftware.io.reflect.Injector
-
- create(Field, String, String) - Static method in class com.cedarsoftware.io.reflect.Injector
-
- createCacheKey(Class<?>, Collection<?>) - Static method in class com.cedarsoftware.io.MetaUtils
-
- createInjector(Field, Map<Class<?>, Map<String, String>>, String) - Method in class com.cedarsoftware.io.reflect.factories.MethodInjectorFactory
-
- createInjector(Field, Map<Class<?>, Map<String, String>>, String) - Method in interface com.cedarsoftware.io.reflect.InjectorFactory
-
Creates accessors for accessing data from an object.
- createInstance(JsonObject) - Method in class com.cedarsoftware.io.Resolver
-
This method creates a Java Object instance based on the passed in parameters.
- createInstanceUsingType(JsonObject) - Method in class com.cedarsoftware.io.Resolver
-
Create an instance of a Java class using the ".type" field on the jsonObj.
- createIsName(String) - Static method in class com.cedarsoftware.io.reflect.factories.IsMethodAccessorFactory
-
Creates one of the names for boolean accessor
- CUSTOM_READER_MAP - Static variable in class com.cedarsoftware.util.io.JsonReader
-
Deprecated.
If set, this maps class ==> CustomReader
- CUSTOM_WRITER_MAP - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
Deprecated.
If set, this maps class ==> CustomWriter
- gatherRemainingValues(ReaderContext, JsonObject, List<Object>, Set<String>) - Method in interface com.cedarsoftware.io.JsonReader.ClassFactory
-
- get(Object) - Method in class com.cedarsoftware.io.JsonObject
-
- get(JsonObject) - Method in interface com.cedarsoftware.io.ReferenceTracker
-
- get(Long) - Method in interface com.cedarsoftware.io.ReferenceTracker
-
- getAccessorsForClass(Class<?>) - Method in interface com.cedarsoftware.io.WriteOptions
-
- getAccessorsForClass(Class<?>) - Method in class com.cedarsoftware.io.WriteOptionsBuilder.DefaultWriteOptions
-
- getActualFieldName() - Method in class com.cedarsoftware.io.reflect.Accessor
-
- getArgs() - Method in class com.cedarsoftware.util.io.JsonReader
-
Deprecated.
- getArray() - Method in class com.cedarsoftware.io.JsonObject
-
- getClassFactory(Class<?>) - Method in interface com.cedarsoftware.io.ReadOptions
-
Get the ClassFactory associated to the passed in class.
- getClassFactory(Class<?>) - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultReadOptions
-
Get the ClassFactory associated to the passed in class.
- getClassIfEnum(Class<?>) - Static method in class com.cedarsoftware.io.MetaUtils
-
- getClassLoader() - Method in class com.cedarsoftware.io.JsonReader
-
- getClassLoader() - Method in interface com.cedarsoftware.io.ReadOptions
-
- getClassLoader() - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultReadOptions
-
- getClassLoader() - Method in interface com.cedarsoftware.io.WriteOptions
-
- getCoercedClass(Class<?>) - Method in interface com.cedarsoftware.io.ReadOptions
-
Fetch the coerced class for the passed in fully qualified class name.
- getCoercedClass(Class<?>) - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultReadOptions
-
Fetch the coerced class for the passed in fully qualified class name.
- getComponentType() - Method in class com.cedarsoftware.io.JsonObject
-
- getConverter() - Method in interface com.cedarsoftware.io.ReaderContext
-
- getConverterOptions() - Method in interface com.cedarsoftware.io.ReadOptions
-
- getConverterOptions() - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultReadOptions
-
- getCustomOption(String) - Method in interface com.cedarsoftware.io.ReadOptions
-
Get a custom option
- getCustomOption(String) - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultConverterOptions
-
- getCustomOption(String) - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultReadOptions
-
- getCustomOption(String) - Method in interface com.cedarsoftware.io.WriteOptions
-
Get a custom option
- getCustomOption(String) - Method in class com.cedarsoftware.io.WriteOptionsBuilder.DefaultWriteOptions
-
- getCustomReader(Class<?>) - Method in interface com.cedarsoftware.io.ReadOptions
-
Fetch the custom reader for the passed in Class.
- getCustomReader(Class<?>) - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultReadOptions
-
Fetch the custom reader for the passed in Class.
- getCustomWriter(Class<?>) - Method in interface com.cedarsoftware.io.WriteOptions
-
Fetch the custom writer for the passed in Class.
- getCustomWriter(Class<?>) - Method in class com.cedarsoftware.io.WriteOptionsBuilder.DefaultWriteOptions
-
Fetch the custom writer for the passed in Class.
- getDeclaringClass() - Method in class com.cedarsoftware.io.reflect.Accessor
-
- getDeepDeclaredFields(Class<?>) - Method in interface com.cedarsoftware.io.ReadOptions
-
Gets the declared fields for the full class hierarchy of a given class
- getDeepDeclaredFields(Class<?>) - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultReadOptions
-
Gets the declared fields for the full class hierarchy of a given class
- getDeepDeclaredFields(Class<?>) - Method in interface com.cedarsoftware.io.WriteOptions
-
Gets the declared fields for the full class hierarchy of a given class
- getDeepDeclaredFields(Class<?>) - Method in class com.cedarsoftware.io.WriteOptionsBuilder.DefaultWriteOptions
-
Gets the declared fields for the full class hierarchy of a given class
- getDeepInjectorMap(Class<?>) - Method in interface com.cedarsoftware.io.ReadOptions
-
- getDeepInjectorMap(Class<?>) - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultReadOptions
-
- getEnumName(JsonObject) - Method in class com.cedarsoftware.io.factory.EnumClassFactory
-
- getFieldType() - Method in class com.cedarsoftware.io.reflect.Accessor
-
- getGenericType() - Method in class com.cedarsoftware.io.reflect.Accessor
-
- getGenericType() - Method in class com.cedarsoftware.io.reflect.Injector
-
- getId() - Method in class com.cedarsoftware.io.JsonValue
-
- getJavaType() - Method in class com.cedarsoftware.io.JsonValue
-
- getJavaTypeName() - Method in class com.cedarsoftware.io.JsonValue
-
- getKey() - Method in class com.cedarsoftware.io.Writers.EnumsAsStringWriter
-
- getKey() - Method in class com.cedarsoftware.io.Writers.PrimitiveTypeWriter
-
- getLength() - Method in class com.cedarsoftware.io.JsonObject
-
- getLogMessage(String, Object[]) - Static method in class com.cedarsoftware.io.MetaUtils
-
Format a nice looking method signature for logging output
- getLogMessage(String, Object[], int) - Static method in class com.cedarsoftware.io.MetaUtils
-
- getMapping(Map<Class<?>, Map<String, String>>, Class<?>, String) - Method in interface com.cedarsoftware.io.reflect.AccessorFactory
-
- getMapping(Map<Class<?>, Map<String, String>>, Class<?>, String) - Method in interface com.cedarsoftware.io.reflect.InjectorFactory
-
- getMaxDepth() - Method in interface com.cedarsoftware.io.ReadOptions
-
- getMaxDepth() - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultReadOptions
-
- GetMethodAccessorFactory - Class in com.cedarsoftware.io.reflect.factories
-
- GetMethodAccessorFactory() - Constructor for class com.cedarsoftware.io.reflect.factories.GetMethodAccessorFactory
-
- getMissingFieldHandler() - Method in interface com.cedarsoftware.io.ReadOptions
-
- getMissingFieldHandler() - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultReadOptions
-
- getName() - Method in class com.cedarsoftware.io.reflect.Injector
-
- getNumberWithDefault(Object, Number) - Static method in class com.cedarsoftware.io.ArgumentHelper
-
- getPrimitiveValue(Converter, ClassLoader) - Method in class com.cedarsoftware.io.JsonObject
-
- getRawType(Type) - Static method in class com.cedarsoftware.io.ObjectResolver
-
Given the passed in Type t, return the raw type of it, if the passed in value is a ParameterizedType.
- getReader(InputStream) - Method in class com.cedarsoftware.io.JsonReader
-
Allow others to try potentially faster Readers.
- getReadOptions() - Method in interface com.cedarsoftware.io.ReaderContext
-
- getReadOptionsBuilder(Map<String, Object>, int) - Static method in class com.cedarsoftware.util.io.JsonReader
-
Deprecated.
- getReferenceId() - Method in class com.cedarsoftware.io.JsonValue
-
- getReferences() - Method in class com.cedarsoftware.io.JsonReader
-
- getReferences() - Method in interface com.cedarsoftware.io.ReaderContext
-
- getTarget() - Method in class com.cedarsoftware.io.JsonValue
-
- getType() - Method in class com.cedarsoftware.io.factory.ArrayFactory
-
- getType() - Method in class com.cedarsoftware.io.factory.ConvertableFactory
-
- getType() - Method in class com.cedarsoftware.io.reflect.Injector
-
- getTypeNameAlias(String) - Method in interface com.cedarsoftware.io.ReadOptions
-
Alias Type Names, e.g.
- getTypeNameAlias(String) - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultReadOptions
-
Alias Type Names, e.g.
- getTypeNameAlias(String) - Method in interface com.cedarsoftware.io.WriteOptions
-
Alias Type Names, e.g.
- getTypeNameAlias(String) - Method in class com.cedarsoftware.io.WriteOptionsBuilder.DefaultWriteOptions
-
Alias Type Names, e.g.
- getUnknownTypeClass() - Method in interface com.cedarsoftware.io.ReadOptions
-
- getUnknownTypeClass() - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultReadOptions
-
- getValue() - Method in class com.cedarsoftware.io.JsonObject
-
- getValueWithDefaultForMissing(Map, K, V) - Static method in class com.cedarsoftware.io.MetaUtils
-
- getValueWithDefaultForNull(Map, K, V) - Static method in class com.cedarsoftware.io.MetaUtils
-
- getWriteOptions() - Method in interface com.cedarsoftware.io.WriterContext
-
Gets the write options for the current serialization
- getWriteOptionsBuilder(Map<String, Object>) - Static method in class com.cedarsoftware.util.io.JsonWriter
-
Deprecated.
- javaType - Variable in class com.cedarsoftware.io.JsonValue
-
- JSON_READER - Static variable in class com.cedarsoftware.util.io.JsonReader
-
Deprecated.
Pointer to 'this' (automatically placed in the Map)
- JsonIo - Class in com.cedarsoftware.io
-
This is the main API for json-io.
- JsonIoException - Exception in com.cedarsoftware.io
-
Custom RuntimeException subclass that is used as the main exception thrown by
json-io.
- JsonIoException() - Constructor for exception com.cedarsoftware.io.JsonIoException
-
Constructs a new runtime exception with null
as its
detail message.
- JsonIoException(String) - Constructor for exception com.cedarsoftware.io.JsonIoException
-
Constructs a new runtime exception with the specified detail message.
- JsonIoException(String, Throwable) - Constructor for exception com.cedarsoftware.io.JsonIoException
-
Constructs a new runtime exception with the specified detail message and
cause.
- JsonIoException(Throwable) - Constructor for exception com.cedarsoftware.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).
- 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 - Class in com.cedarsoftware.io
-
This class holds a JSON object in a LinkedHashMap.
- JsonObject() - Constructor for class com.cedarsoftware.io.JsonObject
-
- JsonReader - Class in com.cedarsoftware.io
-
Read an object graph in JSON format and make it available in Java objects, or
in a "Map of Maps." (untyped representation).
- JsonReader(InputStream, ReadOptions) - Constructor for class com.cedarsoftware.io.JsonReader
-
Creates a json reader using custom read options
- JsonReader(InputStream, ReadOptions, ReferenceTracker) - Constructor for class com.cedarsoftware.io.JsonReader
-
- JsonReader(ReadOptions) - Constructor for class com.cedarsoftware.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 - Class in com.cedarsoftware.util.io
-
Deprecated.
- JsonReader() - Constructor for class com.cedarsoftware.util.io.JsonReader
-
Deprecated.
- JsonReader.ClassFactory - Interface in com.cedarsoftware.io
-
Subclass this interface and create a class that will return a new instance of the
passed in Class (c).
- JsonReader.JsonClassReader - Interface in com.cedarsoftware.io
-
Implement this interface to add a custom JSON reader.
- JsonReader.JsonClassReader - Interface in com.cedarsoftware.util.io
-
Deprecated.
- JsonReader.JsonClassReaderBase - Interface in com.cedarsoftware.util.io
-
Deprecated.
- JsonReader.JsonClassReaderEx - Interface in com.cedarsoftware.util.io
-
Deprecated.
- JsonReader.MissingFieldHandler - Interface in com.cedarsoftware.io
-
Used to react to fields missing when reading an object.
- JsonStringWriter() - Constructor for class com.cedarsoftware.io.Writers.JsonStringWriter
-
- jsonToJava(String) - Static method in class com.cedarsoftware.util.io.JsonReader
-
Deprecated.
- jsonToJava(String, Map<String, Object>) - Static method in class com.cedarsoftware.util.io.JsonReader
-
Deprecated.
- jsonToJava(String, Map<String, Object>, int) - Static method in class com.cedarsoftware.util.io.JsonReader
-
Deprecated.
- jsonToJava(InputStream, Map<String, Object>) - Static method in class com.cedarsoftware.util.io.JsonReader
-
Deprecated.
- jsonToJava(InputStream, Map<String, Object>, int) - Static method in class com.cedarsoftware.util.io.JsonReader
-
Deprecated.
- jsonToMaps(String) - Static method in class com.cedarsoftware.util.io.JsonReader
-
Deprecated.
- jsonToMaps(String, int) - Static method in class com.cedarsoftware.util.io.JsonReader
-
Deprecated.
- jsonToMaps(String, Map<String, Object>, int) - Static method in class com.cedarsoftware.util.io.JsonReader
-
Deprecated.
- JsonValue - Class in com.cedarsoftware.io
-
This class is the parent class for all parsed JSON objects, arrays, or primitive values.
- JsonValue() - Constructor for class com.cedarsoftware.io.JsonValue
-
- JsonWriter - Class in com.cedarsoftware.io
-
Output a Java object graph in JSON format.
- JsonWriter(OutputStream) - Constructor for class com.cedarsoftware.io.JsonWriter
-
- JsonWriter(OutputStream, WriteOptions) - Constructor for class com.cedarsoftware.io.JsonWriter
-
- JsonWriter - Class in com.cedarsoftware.util.io
-
Deprecated.
- JsonWriter() - Constructor for class com.cedarsoftware.util.io.JsonWriter
-
Deprecated.
- JsonWriter.JsonClassWriter - Interface in com.cedarsoftware.io
-
Implement this interface to customize the JSON output for a given class.
- JsonWriter.JsonClassWriter - Interface in com.cedarsoftware.util.io
-
Deprecated.
- JsonWriter.JsonClassWriterBase - Interface in com.cedarsoftware.util.io
-
Deprecated.
- JsonWriter.JsonClassWriterEx - Interface in com.cedarsoftware.util.io
-
Deprecated.
- read(Object, Deque<JsonObject>, ReaderContext) - Method in class com.cedarsoftware.io.factory.RecordFactory.RecordReader
-
- read(Object, Deque<JsonObject>, ReaderContext) - Method in interface com.cedarsoftware.io.JsonReader.JsonClassReader
-
- read(Object, Deque<JsonObject>) - Method in interface com.cedarsoftware.io.JsonReader.JsonClassReader
-
- read(Object, Deque) - Method in interface com.cedarsoftware.util.io.JsonReader.JsonClassReader
-
Deprecated.
- read(Object, Deque, Map<String, Object>) - Method in interface com.cedarsoftware.util.io.JsonReader.JsonClassReaderEx
-
Deprecated.
- ReaderContext - Interface in com.cedarsoftware.io
-
- readObject(Class<T>) - Method in class com.cedarsoftware.io.JsonReader
-
- ReadOptions - Interface in com.cedarsoftware.io
-
This class contains all the "feature" control (options) for controlling json-io's
flexibility in reading JSON.
- ReadOptions.ReturnType - Enum in com.cedarsoftware.io
-
- ReadOptionsBuilder - Class in com.cedarsoftware.io
-
- ReadOptionsBuilder() - Constructor for class com.cedarsoftware.io.ReadOptionsBuilder
-
Start with default options
- ReadOptionsBuilder.DefaultConverterOptions - Class in com.cedarsoftware.io
-
- ReadOptionsBuilder.DefaultReadOptions - Class in com.cedarsoftware.io
-
- readWithFactoryIfExists(Object, Class, Deque<JsonObject>) - Method in class com.cedarsoftware.io.MapResolver
-
- readWithFactoryIfExists(Object, Class, Deque<JsonObject>) - Method in class com.cedarsoftware.io.ObjectResolver
-
Convert the passed in object (o) to a proper Java object.
- readWithFactoryIfExists(Object, Class, Deque<JsonObject>) - Method in class com.cedarsoftware.io.Resolver
-
- reconcileCollection(JsonObject, Collection) - Static method in class com.cedarsoftware.io.ObjectResolver
-
- RecordFactory - Class in com.cedarsoftware.io.factory
-
- RecordFactory.RecordReader - Class in com.cedarsoftware.io.factory
-
- RecordReader() - Constructor for class com.cedarsoftware.io.factory.RecordFactory.RecordReader
-
- reentrantConvertJsonValueToJava(JsonObject, Class<T>) - Method in class com.cedarsoftware.io.JsonReader
-
This method converts a rootObj Map, (which contains nested Maps
and so forth representing a Java Object graph), to a Java
object instance.
- reentrantConvertJsonValueToJava(JsonObject, Class<T>) - Method in interface com.cedarsoftware.io.ReaderContext
-
This method converts a rootObj Map, (which contains nested Maps
and so forth representing a Java Object graph), to a Java
object instance.
- reentrantConvertJsonValueToJava(JsonObject, Class<T>) - Method in class com.cedarsoftware.io.Resolver
-
This method converts a rootObj Map, (which contains nested Maps
and so forth representing a Java Object graph), to a Java
object instance.
- REF - Static variable in class com.cedarsoftware.io.JsonValue
-
- ReferenceTracker - Interface in com.cedarsoftware.io
-
- refId - Variable in class com.cedarsoftware.io.JsonValue
-
- rehashMaps() - Method in class com.cedarsoftware.io.Resolver
-
Process Maps/Sets (fix up their internal indexing structure)
This is required because Maps hash items using hashCode(), which will
change between VMs.
- remove(Object) - Method in class com.cedarsoftware.io.JsonObject
-
- removeFilter(FieldFilter) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- removeLeadingAndTrailingQuotes(String) - Static method in class com.cedarsoftware.io.MetaUtils
-
Strip leading and trailing double quotes from the passed in String.
- replaceClassFactories(Map<Class<?>, ? extends JsonReader.ClassFactory>) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Associate multiple ClassFactory instances to Classes that needs help being constructed and read in.
- replaceCustomReaderClasses(Map<? extends Class<?>, ? extends JsonReader.JsonClassReader>) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
- replaceNotCustomReaderClasses(Collection<Class<?>>) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
- Resolver - Class in com.cedarsoftware.io
-
This class is used to convert a source of Java Maps that were created from
the JsonParser.
- Resolver(ReadOptions, ReferenceTracker, Converter) - Constructor for class com.cedarsoftware.io.Resolver
-
- Resolver.Missingfields - Class in com.cedarsoftware.io
-
stores missing fields information to notify client after the complete deserialization resolution
- resolveRefs(JsonObject) - Method in class com.cedarsoftware.io.Resolver
-
- retrieve(Object) - Method in class com.cedarsoftware.io.reflect.Accessor
-
- returnAsJavaObjects() - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Return as JAVA_OBJECT's the returned value will be of the class type passed into JsonReader.toJava(json, rootClass).
- returnAsNativeJsonObjects() - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Set to return as JSON_OBJECTS's (faster, useful for large, more simple object data sets).
- tabIn() - Method in class com.cedarsoftware.io.JsonWriter
-
Tab the output left (less indented)
- tabOut() - Method in class com.cedarsoftware.io.JsonWriter
-
Tab the output right (more indented)
- TemporalWriter() - Constructor for class com.cedarsoftware.io.Writers.TemporalWriter
-
- ThrowableFactory - Class in com.cedarsoftware.io.factory
-
Factory class to create Throwable instances.
- ThrowableFactory() - Constructor for class com.cedarsoftware.io.factory.ThrowableFactory
-
- TimestampWriter() - Constructor for class com.cedarsoftware.io.Writers.TimestampWriter
-
- TimeZoneWriter() - Constructor for class com.cedarsoftware.io.Writers.TimeZoneWriter
-
- toJson(Object, WriteOptions) - Static method in class com.cedarsoftware.io.JsonIo
-
Convert the passed in Java source object to JSON.
- toJson(OutputStream, Object, WriteOptions) - Static method in class com.cedarsoftware.io.JsonIo
-
Convert the passed in Java source object to JSON.
- toObjects(String, ReadOptions, Class<T>) - Static method in class com.cedarsoftware.io.JsonIo
-
Convert the passed in JSON to Java Objects.
- toObjects(InputStream, ReadOptions, Class<T>) - Static method in class com.cedarsoftware.io.JsonIo
-
Convert the passed in JSON to Java Objects.
- toObjects(JsonObject, ReadOptions, Class<T>) - Static method in class com.cedarsoftware.io.JsonIo
-
Convert a root JsonObject that represents parsed JSON, into an actual Java object.
- toString() - Method in class com.cedarsoftware.io.JsonObject
-
- traceFields(Deque<Object>, Object) - Method in class com.cedarsoftware.io.JsonWriter
-
Reach-ability trace to visit all objects within the graph to be written.
- traceReferences(Object) - Method in class com.cedarsoftware.io.JsonWriter
-
Walk object graph and visit each instance, following each field, each Collection, Map and so on.
- traverseArray(Deque<JsonObject>, JsonObject) - Method in class com.cedarsoftware.io.MapResolver
-
- traverseArray(Deque<JsonObject>, JsonObject) - Method in class com.cedarsoftware.io.ObjectResolver
-
Traverse the JsonObject associated to an array (of any type).
- traverseArray(Deque<JsonObject>, JsonObject) - Method in class com.cedarsoftware.io.Resolver
-
- traverseCollection(Deque<JsonObject>, JsonObject) - Method in class com.cedarsoftware.io.MapResolver
-
Process java.util.Collection and it's derivatives.
- traverseCollection(Deque<JsonObject>, JsonObject) - Method in class com.cedarsoftware.io.ObjectResolver
-
Process java.util.Collection and it's derivatives.
- traverseCollection(Deque<JsonObject>, JsonObject) - Method in class com.cedarsoftware.io.Resolver
-
- traverseFields(Deque<JsonObject>, JsonObject) - Method in class com.cedarsoftware.io.JsonReader
-
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.
- traverseFields(Deque<JsonObject>, JsonObject) - Method in class com.cedarsoftware.io.MapResolver
-
Walk the JsonObject fields and perform necessary substitutions so that all references matched up.
- traverseFields(Deque<JsonObject>, JsonObject) - Method in class com.cedarsoftware.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.
- traverseFields(Deque<JsonObject>, JsonObject) - Method in interface com.cedarsoftware.io.ReaderContext
-
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.
- traverseMap(Deque<JsonObject>, JsonObject) - Method in class com.cedarsoftware.io.Resolver
-
Process java.util.Map and it's derivatives.
- trimLength(String) - Static method in class com.cedarsoftware.io.MetaUtils
-
Returns the length of the trimmed string.
- trySetAccessible(AccessibleObject) - Static method in class com.cedarsoftware.io.MetaUtils
-
- TYPE - Static variable in class com.cedarsoftware.io.JsonValue
-
- TYPE - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
Deprecated.
Force @type always
- TYPE_NAME_MAP - Static variable in class com.cedarsoftware.util.io.JsonReader
-
Deprecated.
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
-
Deprecated.
If set, this map will be used when writing @type values - allows short-hand abbreviations type names
- withExtendedAliases() - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- write(Object, boolean, Writer, WriterContext) - Method in interface com.cedarsoftware.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 interface com.cedarsoftware.io.JsonWriter.JsonClassWriter
-
When write() is called, it is expected that subclasses will write the appropriate JSON
to the passed in Writer.
- write(Object) - Method in class com.cedarsoftware.io.JsonWriter
-
Write the passed in Java object in JSON format.
- write(Object, boolean, Writer, WriterContext) - Method in class com.cedarsoftware.io.Writers.CalendarWriter
-
- write(Object, boolean, Writer, WriterContext) - Method in class com.cedarsoftware.io.Writers.PrimitiveTypeWriter
-
- write(Object, boolean, Writer) - Method in class com.cedarsoftware.io.Writers.TimestampWriter
-
- write(Object, boolean, Writer, WriterContext) - Method in class com.cedarsoftware.io.Writers.UUIDWriter
-
To preserve backward compatibility with previous serialized format the internal fields must be stored as longs
- write(Object, boolean, Writer) - Method in interface com.cedarsoftware.util.io.JsonWriter.JsonClassWriter
-
Deprecated.
- write(Object, boolean, Writer, Map<String, Object>) - Method in interface com.cedarsoftware.util.io.JsonWriter.JsonClassWriterEx
-
Deprecated.
- WRITE_LONGS_AS_STRINGS - Static variable in class com.cedarsoftware.util.io.JsonWriter
-
Deprecated.
If set, longs are written in quotes (Javascript safe)
- writeArrayElementIfMatching(Class<?>, Object, boolean, Writer) - Method in class com.cedarsoftware.io.JsonWriter
-
Write the passed in array element to the JSON output, if any only if, there is a custom writer
for the class of the instance 'o'.
- writeBasicString(Writer, String) - Static method in class com.cedarsoftware.io.JsonWriter
-
Writes out a string without special characters.
- writeCustom(Class<?>, Object, boolean, Writer) - Method in class com.cedarsoftware.io.JsonWriter
-
Perform the actual custom writing for an array element that has a custom writer.
- writeEnumAsJsonObject(boolean) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Option to write out all the member fields of an enum.
- writeEnumsAsString() - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Option to write out enums as a String, it will write out the enum.name() field.
- writeImpl(Object, boolean) - Method in class com.cedarsoftware.io.JsonWriter
-
Main entry point (mostly used internally, but may be called from a Custom JSON writer).
- writeJsonUtf8String(Writer, String) - Static method in class com.cedarsoftware.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.
- writeLongsAsStrings(boolean) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
- writeObject(Object, boolean, boolean) - Method in class com.cedarsoftware.io.JsonWriter
-
- writeObject(Object, boolean, boolean) - Method in interface com.cedarsoftware.io.WriterContext
-
Allows you to use the current JsonWriter to write an object out.
- WriteOptions - Interface in com.cedarsoftware.io
-
This class contains all the "feature" control (options) for controlling json-io's
output JSON.
- WriteOptions.ShowType - Enum in com.cedarsoftware.io
-
- WriteOptionsBuilder - Class in com.cedarsoftware.io
-
Builder class for building the writeOptions.
- WriteOptionsBuilder() - Constructor for class com.cedarsoftware.io.WriteOptionsBuilder
-
Start with default options
- WriteOptionsBuilder.DefaultWriteOptions - Class in com.cedarsoftware.io
-
- writePrimitiveForm(Object, Writer, WriterContext) - Method in interface com.cedarsoftware.io.JsonWriter.JsonClassWriter
-
This default implementation will call the more basic writePrimitiveForm that does not take arguments.
- writePrimitiveForm(Object, Writer) - Method in interface com.cedarsoftware.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, WriterContext) - Method in class com.cedarsoftware.io.Writers.BigDecimalWriter
-
- writePrimitiveForm(Object, Writer, WriterContext) - Method in class com.cedarsoftware.io.Writers.BigIntegerWriter
-
- writePrimitiveForm(Object, Writer, WriterContext) - Method in class com.cedarsoftware.io.writers.ByteArrayWriter
-
- writePrimitiveForm(Object, Writer, WriterContext) - Method in class com.cedarsoftware.io.Writers.CharacterWriter
-
- writePrimitiveForm(Object, Writer, WriterContext) - Method in class com.cedarsoftware.io.writers.DurationWriter
-
- writePrimitiveForm(Object, Writer, WriterContext) - Method in class com.cedarsoftware.io.Writers.FloatingPointWriter
-
Writes out Float point type.
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.io.Writers.LocalDateAsLong
-
- writePrimitiveForm(Object, Writer, WriterContext) - Method in class com.cedarsoftware.io.Writers.LocaleWriter
-
- writePrimitiveForm(Object, Writer, WriterContext) - Method in class com.cedarsoftware.io.writers.LongWriter
-
- writePrimitiveForm(Object, Writer, WriterContext) - Method in class com.cedarsoftware.io.writers.PeriodWriter
-
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.io.Writers.PrimitiveBasicStringWriter
-
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.io.Writers.PrimitiveUtf8StringWriter
-
- writePrimitiveForm(Object, Writer, WriterContext) - Method in class com.cedarsoftware.io.Writers.PrimitiveValueWriter
-
Writes out a basic value type, no quotes.
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.io.Writers.TemporalWriter
-
- writePrimitiveForm(T, Writer) - Method in class com.cedarsoftware.io.Writers.TemporalWriter
-
- writePrimitiveForm(Object, Writer) - Method in class com.cedarsoftware.io.Writers.UUIDWriter
-
We can use the String representation for easier handling, but this may break backwards compatibility
if an earlier library version is used
- writePrimitiveForm(Object, Writer) - Method in interface com.cedarsoftware.util.io.JsonWriter.JsonClassWriter
-
Deprecated.
- WriterContext - Interface in com.cedarsoftware.io
-
- Writers - Class in com.cedarsoftware.io
-
All custom writers for json-io subclass this class.
- Writers.BigDecimalWriter - Class in com.cedarsoftware.io
-
- Writers.BigIntegerWriter - Class in com.cedarsoftware.io
-
- Writers.CalendarWriter - Class in com.cedarsoftware.io
-
- Writers.CharacterWriter - Class in com.cedarsoftware.io
-
Used as a template to write out primitive String types.
- Writers.ClassWriter - Class in com.cedarsoftware.io
-
- Writers.DateAsLongWriter - Class in com.cedarsoftware.io
-
- Writers.DateWriter - Class in com.cedarsoftware.io
-
- Writers.DoubleWriter - Class in com.cedarsoftware.io
-
Used as a template to write out primitive value types such as int, boolean, etc.
- Writers.EnumsAsStringWriter - Class in com.cedarsoftware.io
-
- Writers.FloatingPointWriter<T> - Class in com.cedarsoftware.io
-
Used as a template to write out primitive value types such as int, boolean, etc.
- Writers.FloatWriter - Class in com.cedarsoftware.io
-
Used as a template to write out primitive value types such as int, boolean, etc.
- Writers.JsonStringWriter - Class in com.cedarsoftware.io
-
- Writers.LocalDateAsLong - Class in com.cedarsoftware.io
-
- Writers.LocalDateTimeWriter - Class in com.cedarsoftware.io
-
- Writers.LocalDateWriter - Class in com.cedarsoftware.io
-
- Writers.LocaleWriter - Class in com.cedarsoftware.io
-
- Writers.LocalTimeWriter - Class in com.cedarsoftware.io
-
- Writers.MonthDayWriter - Class in com.cedarsoftware.io
-
- Writers.OffsetDateTimeWriter - Class in com.cedarsoftware.io
-
- Writers.OffsetTimeWriter - Class in com.cedarsoftware.io
-
- Writers.PrimitiveBasicStringWriter - Class in com.cedarsoftware.io
-
This can be used when you know your objects are going to be represented as strings,
but won't need any UTF-8 escaping.
- Writers.PrimitiveTypeWriter - Class in com.cedarsoftware.io
-
Used as a template to write out types that will have a primitive form.
- Writers.PrimitiveUtf8StringWriter - Class in com.cedarsoftware.io
-
Used as a template to write out primitive String types.
- Writers.PrimitiveValueWriter - Class in com.cedarsoftware.io
-
Used as a template to write out primitive value types such as int, boolean, etc.
- Writers.TemporalWriter<T extends TemporalAccessor> - Class in com.cedarsoftware.io
-
- Writers.TimestampWriter - Class in com.cedarsoftware.io
-
- Writers.TimeZoneWriter - Class in com.cedarsoftware.io
-
- Writers.UUIDWriter - Class in com.cedarsoftware.io
-
- Writers.YearMonthWriter - Class in com.cedarsoftware.io
-
- Writers.YearWriter - Class in com.cedarsoftware.io
-
- Writers.ZonedDateTimeWriter - Class in com.cedarsoftware.io
-
- writeUsingCustomWriter(Object, boolean, Writer) - Method in class com.cedarsoftware.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).