Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- Accessor - Class in com.cedarsoftware.io.reflect
- AccessorFactory - Interface in com.cedarsoftware.io.reflect
- add(int, T) - Method in class com.cedarsoftware.io.util.SingletonList
- add(T) - Method in class com.cedarsoftware.io.util.SingletonList
- add(T) - Method in class com.cedarsoftware.io.util.SingletonSet
- addAccessorFactory(String, AccessorFactory) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Add AccessorFactory to the accessor factories chain.
- addAll(int, Collection<? extends T>) - Method in class com.cedarsoftware.io.util.SingletonList
- addAll(Collection<? extends T>) - Method in class com.cedarsoftware.io.util.SingletonList
- addAll(Collection<? extends T>) - Method in class com.cedarsoftware.io.util.SingletonSet
- 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
- addFieldFilter(String, FieldFilter) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Add FieldFilter to the field filter chain.
- 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
- addMethodFilter(String, MethodFilter) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Add MethodFilter to the filter chain.
- addNamedMethodFilter(String, Class<?>, String) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Add a NamedMethodFilter to the filter chain.
- addNonReferenceableClass(Class<?>) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
- addNonReferenceableClass(Class<?>) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
- addNonStandardGetter(Class<?>, String, String) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
This option permits adding non-standard accessors (used when writing JSON) that access properties from objects, where the method name does not follow a standard setter/getter property name.
- 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).
- addPermanentAccessorFactory(String, AccessorFactory) - Static method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Add an AccessorFactory that is JVM lifecycle scoped.
- 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.
- addPermanentClassFactory(Class<?>, JsonReader.ClassFactory) - Static method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Call this method to add a factory class that will be used to create instances of another class.
- 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.
- addPermanentExcludedField(Class<?>, String) - Static method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Call this method to add a permanent (JVM lifetime) excluded field name of class.
- addPermanentFieldFilter(String, FieldFilter) - Static method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Add a FieldFilter that is JVM lifecycle scoped.
- addPermanentMethodFilter(String, MethodFilter) - Static method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Add a MethodFilter that is JVM lifecycle scoped.
- addPermanentNamedMethodFilter(String, Class<?>, String) - Static method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Add a MethodFilter that is JVM lifecycle scoped.
- 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.
- addPermanentNonReferenceableClass(Class<?>) - Static method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Add a class permanently (JVM lifecycle) to the Non-referenceable list.
- addPermanentNonStandardGetter(Class<?>, String, String) - Static method in class com.cedarsoftware.io.WriteOptionsBuilder
-
This option permits adding non-standard getters (used when writing JSON) that access properties from objects, where the method name does not follow a standard setter/getter property name.
- addPermanentNonStandardSetter(Class<?>, String, String) - Static method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Add the String name of the "setter" (injector) associated to the field name.
- addPermanentNotImportedField(Class<?>, String) - Static method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Add a field to a class that should not be imported.
- 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.
- aliases() - Method in interface com.cedarsoftware.io.WriteOptions
- aliasTypeName(Class<?>, String) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
- aliasTypeName(Class<?>, String) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
- aliasTypeName(String, String) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
- 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
- ALWAYS - Enum constant in enum com.cedarsoftware.io.WriteOptions.ShowType
- apply(Class<?>, String) - Method in interface com.cedarsoftware.io.ReadOptionsBuilder.AliasApplier
- 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(JsonObject, Injector, Object) - Method in class com.cedarsoftware.io.MapResolver
- assignField(JsonObject, Injector, Object) - Method in class com.cedarsoftware.io.ObjectResolver
-
Map Json Map object field to Java object field.
- assignField(JsonObject, Injector, Object) - Method in class com.cedarsoftware.io.Resolver
- assignInstantiator(Class<?>, JsonReader.ClassFactory) - Static method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Deprecated.
B
- BIG_DECIMAL - Enum constant in enum com.cedarsoftware.io.ReadOptions.Decimals
- BIG_INTEGER - Enum constant in enum com.cedarsoftware.io.ReadOptions.Integers
- BigDecimalWriter() - Constructor for class com.cedarsoftware.io.Writers.BigDecimalWriter
- BigIntegerWriter() - Constructor for class com.cedarsoftware.io.Writers.BigIntegerWriter
- BOTH - Enum constant in enum com.cedarsoftware.io.ReadOptions.Decimals
- BOTH - Enum constant in enum com.cedarsoftware.io.ReadOptions.Integers
- build() - Method in class com.cedarsoftware.io.ReadOptionsBuilder
- build() - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Seal the instance of this class so that no more changes can be made to it.
- buildAccessor(Field, Map<Class<?>, Map<String, String>>, String) - Method in interface com.cedarsoftware.io.reflect.AccessorFactory
-
Creates accessors for accessing data from an object.
- buildAccessor(Field, Map<Class<?>, Map<String, String>>, String) - Method in class com.cedarsoftware.io.reflect.factories.GetMethodAccessorFactory
- buildAccessor(Field, Map<Class<?>, Map<String, String>>, String) - Method in class com.cedarsoftware.io.reflect.factories.IsMethodAccessorFactory
- ByteArrayWriter - Class in com.cedarsoftware.io.writers
- ByteArrayWriter() - Constructor for class com.cedarsoftware.io.writers.ByteArrayWriter
C
- 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.io.JsonIo
-
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
- clear() - Method in class com.cedarsoftware.io.util.SingletonList
- clear() - Method in class com.cedarsoftware.io.util.SingletonMap
- clear() - Method in class com.cedarsoftware.io.util.SingletonSet
- clearCaches() - Method in interface com.cedarsoftware.io.ReadOptions
- clearCaches() - Method in interface com.cedarsoftware.io.WriteOptions
- 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.
- col - Variable in class com.cedarsoftware.io.JsonValue
- CollectionFactory - Class in com.cedarsoftware.io.factory
- CollectionFactory() - Constructor for class com.cedarsoftware.io.factory.CollectionFactory
- 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.util - package com.cedarsoftware.io.util
- com.cedarsoftware.io.writers - package com.cedarsoftware.io.writers
- contains(Object) - Method in class com.cedarsoftware.io.util.SingletonList
- contains(Object) - Method in class com.cedarsoftware.io.util.SingletonSet
- containsAll(Collection<?>) - Method in class com.cedarsoftware.io.util.SingletonList
- containsAll(Collection<?>) - Method in class com.cedarsoftware.io.util.SingletonSet
- containsKey(Object) - Method in class com.cedarsoftware.io.JsonObject
- containsKey(Object) - Method in class com.cedarsoftware.io.util.SingletonMap
- containsValue(Object) - Method in class com.cedarsoftware.io.JsonObject
- containsValue(Object) - Method in class com.cedarsoftware.io.util.SingletonMap
- ConvertableFactory<T> - Class in com.cedarsoftware.io.factory
- ConvertableFactory(Class<? extends T>) - Constructor for class com.cedarsoftware.io.factory.ConvertableFactory
- 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
- createFieldAccessor(Field, String) - Static method in class com.cedarsoftware.io.reflect.Accessor
- 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.
- createIsName(String) - Static method in class com.cedarsoftware.io.reflect.factories.IsMethodAccessorFactory
-
Creates one of the names for boolean accessor
- createMethodAccessor(Field, String, String) - Static method in class com.cedarsoftware.io.reflect.Accessor
- CUSTOM_READER_MAP - Static variable in class com.cedarsoftware.io.JsonIo
-
If set, this maps class ==> CustomReader
- CUSTOM_WRITER_MAP - Static variable in class com.cedarsoftware.io.JsonIo
-
If set, this maps class ==> CustomWriter
D
- DATE_FORMAT - Static variable in class com.cedarsoftware.io.JsonIo
-
Set the date format to use within the JSON output
- DateAsLongWriter() - Constructor for class com.cedarsoftware.io.Writers.DateAsLongWriter
- dateTimeFormat(String) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Change the date-time format to the passed in format.
- DateWriter(String) - Constructor for class com.cedarsoftware.io.Writers.DateWriter
- DECLARING_CLASS - Static variable in class com.cedarsoftware.io.factory.StackTraceElementFactory
- deepCopy(Object, ReadOptions, WriteOptions) - Static method in class com.cedarsoftware.io.JsonIo
-
Copy an object graph using JSON.
- DefaultConverterOptions() - Constructor for class com.cedarsoftware.io.ReadOptionsBuilder.DefaultConverterOptions
- DefaultMethodFilter - Class in com.cedarsoftware.io.reflect.filters.method
- DefaultMethodFilter() - Constructor for class com.cedarsoftware.io.reflect.filters.method.DefaultMethodFilter
- DOUBLE - Enum constant in enum com.cedarsoftware.io.ReadOptions.Decimals
- DoubleWriter() - Constructor for class com.cedarsoftware.io.Writers.DoubleWriter
- DurationWriter - Class in com.cedarsoftware.io.writers
- DurationWriter() - Constructor for class com.cedarsoftware.io.writers.DurationWriter
E
- EmptyEnumerationFactory - Class in com.cedarsoftware.io.factory
- EmptyEnumerationFactory() - Constructor for class com.cedarsoftware.io.factory.EmptyEnumerationFactory
- EmptyIteratorFactory - Class in com.cedarsoftware.io.factory
- EmptyIteratorFactory() - Constructor for class com.cedarsoftware.io.factory.EmptyIteratorFactory
- EmptyListFactory - Class in com.cedarsoftware.io.factory
- EmptyListFactory() - Constructor for class com.cedarsoftware.io.factory.EmptyListFactory
- EmptyListIteratorFactory - Class in com.cedarsoftware.io.factory
- EmptyListIteratorFactory() - Constructor for class com.cedarsoftware.io.factory.EmptyListIteratorFactory
- EmptyMapFactory - Class in com.cedarsoftware.io.factory
- EmptyMapFactory() - Constructor for class com.cedarsoftware.io.factory.EmptyMapFactory
- EmptyNavigableMapFactory - Class in com.cedarsoftware.io.factory
- EmptyNavigableMapFactory() - Constructor for class com.cedarsoftware.io.factory.EmptyNavigableMapFactory
- EmptyNavigableSetFactory - Class in com.cedarsoftware.io.factory
- EmptyNavigableSetFactory() - Constructor for class com.cedarsoftware.io.factory.EmptyNavigableSetFactory
- EmptySetFactory - Class in com.cedarsoftware.io.factory
- EmptySetFactory() - Constructor for class com.cedarsoftware.io.factory.EmptySetFactory
- ensureJsonPrimitiveKeys(Map) - Static method in class com.cedarsoftware.io.JsonWriter
-
Ensure that all keys within the Map are String instances
- entrySet() - Method in class com.cedarsoftware.io.JsonObject
- entrySet() - Method in class com.cedarsoftware.io.util.SingletonMap
- ENUM_PUBLIC_ONLY - Static variable in class com.cedarsoftware.io.JsonIo
-
If set, indicates that private variables of ENUMs are not to be serialized
- EnumClassFactory - Class in com.cedarsoftware.io.factory
- EnumClassFactory() - Constructor for class com.cedarsoftware.io.factory.EnumClassFactory
- EnumFieldFilter - Class in com.cedarsoftware.io.reflect.filters.field
- EnumFieldFilter() - Constructor for class com.cedarsoftware.io.reflect.filters.field.EnumFieldFilter
- EnumsAsStringWriter() - Constructor for class com.cedarsoftware.io.Writers.EnumsAsStringWriter
- equals(Object) - Method in class com.cedarsoftware.io.util.SingletonList
- equals(Object) - Method in class com.cedarsoftware.io.util.SingletonMap
- extractString(Object) - Method in class com.cedarsoftware.io.Writers.ClassWriter
- extractString(Object) - Method in class com.cedarsoftware.io.Writers.DateAsLongWriter
- extractString(Object) - Method in class com.cedarsoftware.io.Writers.DateWriter
- extractString(Object) - Method in class com.cedarsoftware.io.Writers.EnumsAsStringWriter
- extractString(Object) - Method in class com.cedarsoftware.io.Writers.PrimitiveBasicStringWriter
- extractString(Object) - Method in class com.cedarsoftware.io.Writers.PrimitiveUtf8StringWriter
- extractString(Object) - Method in class com.cedarsoftware.io.Writers.PrimitiveValueWriter
- extractString(Object) - Method in class com.cedarsoftware.io.Writers.TimeZoneWriter
- extractString(Object) - Method in class com.cedarsoftware.io.Writers.YearWriter
- extractString(Object) - Method in class com.cedarsoftware.io.writers.ZoneIdWriter
- extractString(Object) - Method in class com.cedarsoftware.io.writers.ZoneOffsetWriter
F
- FAIL_ON_UNKNOWN_TYPE - Static variable in class com.cedarsoftware.io.JsonIo
-
Will fail JSON parsing if 'type' class defined but is not on classpath.
- failOnUnknownType(boolean) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
- falseChar() - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultConverterOptions
- FIELD_NAME_BLACK_LIST - Static variable in class com.cedarsoftware.io.JsonIo
-
Set value to a
Map<Class, List<String>>
which will be used to control which fields on a class are not output. - FIELD_SPECIFIERS - Static variable in class com.cedarsoftware.io.JsonIo
-
Set value to a
Map<Class, List<String>>
which will be used to control which fields on a class are output - FieldFilter - Interface in com.cedarsoftware.io.reflect.filters
- fieldMissing(Object, String, Object) - Method in interface com.cedarsoftware.io.JsonReader.MissingFieldHandler
-
Notify that a field is missing.
- FILE_NAME - Static variable in class com.cedarsoftware.io.factory.StackTraceElementFactory
- filter(Class<?>, String) - Method in class com.cedarsoftware.io.reflect.filters.method.DefaultMethodFilter
- filter(Class<?>, String) - Method in class com.cedarsoftware.io.reflect.filters.method.NamedMethodFilter
- filter(Class<?>, String) - Method in interface com.cedarsoftware.io.reflect.filters.MethodFilter
-
returns true to filer the method
- filter(Field) - Method in class com.cedarsoftware.io.reflect.filters.field.EnumFieldFilter
- filter(Field) - Method in class com.cedarsoftware.io.reflect.filters.field.ModifierMaskFilter
- filter(Field) - Method in class com.cedarsoftware.io.reflect.filters.field.StaticFieldFilter
- filter(Field) - Method in interface com.cedarsoftware.io.reflect.filters.FieldFilter
-
return true if you want to filter the field false if you don't
- findClosest(Class<?>, Map<Class<?>, T>, T) - Static method in class com.cedarsoftware.io.MetaUtils
-
Fetch the closest inherited class for the passed in Class.
- FloatingPointWriter() - Constructor for class com.cedarsoftware.io.Writers.FloatingPointWriter
- floatPointBigDecimal() - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Set Floating Point types to be returned as BigDecimals.
- floatPointBoth() - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Set Floating Point types to be returned as either Doubles or BigDecimals, depending on precision required to hold the number sourced from JSON.
- floatPointDouble() - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Set Floating Point types to be returned as Doubles.
- FloatWriter() - Constructor for class com.cedarsoftware.io.Writers.FloatWriter
- flush() - Method in class com.cedarsoftware.io.JsonWriter
- FORCE_MAP_FORMAT_ARRAY_KEYS_ITEMS - Static variable in class com.cedarsoftware.io.JsonIo
-
If set to true all maps are transferred to the format @keys[],@items[] regardless of the key_type
- forceMapOutputAsTwoArrays(boolean) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
- formatJson(String) - Static method in class com.cedarsoftware.io.JsonIo
-
Format the passed in JSON into multi-line, indented format, commonly used in JSON online editors.
- formatJson(String, ReadOptions, WriteOptions) - Static method in class com.cedarsoftware.io.JsonIo
-
Format the passed in JSON into multi-line, indented format, commonly used in JSON online editors.
- formatter - Variable in class com.cedarsoftware.io.Writers.TemporalWriter
- FORMATTER - Static variable in class com.cedarsoftware.io.Writers.MonthDayWriter
- FORMATTER - Static variable in class com.cedarsoftware.io.Writers.YearMonthWriter
- fromString(Class<?>, String) - Method in class com.cedarsoftware.io.factory.EnumClassFactory
G
- gatherRemainingValues(Resolver, JsonObject, List<Object>, Set<String>) - Method in interface com.cedarsoftware.io.JsonReader.ClassFactory
- get() - Method in class com.cedarsoftware.io.SealedSupplier
- get(int) - Method in class com.cedarsoftware.io.util.SingletonList
- get(JsonObject) - Method in interface com.cedarsoftware.io.ReferenceTracker
- get(Long) - Method in interface com.cedarsoftware.io.ReferenceTracker
- get(Object) - Method in class com.cedarsoftware.io.JsonObject
- get(Object) - Method in class com.cedarsoftware.io.util.SingletonMap
- getAccessorsForClass(Class<?>) - Method in interface com.cedarsoftware.io.WriteOptions
- getActualFieldName() - Method in class com.cedarsoftware.io.reflect.Accessor
- getCharset() - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultConverterOptions
- getClassFactory(Class<?>) - Method in interface com.cedarsoftware.io.ReadOptions
-
Get the ClassFactory associated to the passed in class.
- getClassIfEnum(Class<?>) - Static method in class com.cedarsoftware.io.MetaUtils
- getClassLoader() - Method in interface com.cedarsoftware.io.ReadOptions
- getClassLoader() - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultConverterOptions
- 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.
- getCol() - Method in class com.cedarsoftware.io.JsonValue
- getConverter() - Method in class com.cedarsoftware.io.Resolver
- getConverterOptions() - Method in interface com.cedarsoftware.io.ReadOptions
- getConverterOverrides() - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultConverterOptions
- 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 interface com.cedarsoftware.io.WriteOptions
-
Get a custom option
- getCustomReader(Class<?>) - Method in interface com.cedarsoftware.io.ReadOptions
-
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.
- 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 interface com.cedarsoftware.io.WriteOptions
-
Gets the declared fields for the full class hierarchy of a given class
- getDeepInjectorMap(Class<?>) - Method in interface com.cedarsoftware.io.ReadOptions
- getDefaultReadOptions() - Static method in class com.cedarsoftware.io.ReadOptionsBuilder
- getDefaultWriteOptions() - Static method in class com.cedarsoftware.io.WriteOptionsBuilder
- getDisplayName() - Method in class com.cedarsoftware.io.reflect.Injector
- getEnumName(JsonObject) - Method in class com.cedarsoftware.io.factory.EnumClassFactory
- getExcludedFields(Class<?>) - Method in interface com.cedarsoftware.io.WriteOptions
- getFieldOrMethodName() - Method in class com.cedarsoftware.io.reflect.Accessor
-
The display name will be either the underlying field name or the underlying method name from which the method handle was created.
- 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
- getIncludedFields(Class<?>) - Method in interface com.cedarsoftware.io.WriteOptions
- getJavaType() - Method in class com.cedarsoftware.io.JsonValue
- getJavaTypeName() - Method in class com.cedarsoftware.io.JsonValue
- getJsonArray() - Method in class com.cedarsoftware.io.JsonObject
- 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
- getLine() - Method in class com.cedarsoftware.io.JsonValue
- getLocale() - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultConverterOptions
- 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.InjectorFactory
- getMaxDepth() - Method in interface com.cedarsoftware.io.ReadOptions
- GetMethodAccessorFactory - Class in com.cedarsoftware.io.reflect.factories
- GetMethodAccessorFactory() - Constructor for class com.cedarsoftware.io.reflect.factories.GetMethodAccessorFactory
- getMethodHandle() - Method in class com.cedarsoftware.io.reflect.Accessor
- getMissingFieldHandler() - Method in interface com.cedarsoftware.io.ReadOptions
- getName() - Method in class com.cedarsoftware.io.reflect.Injector
- getNumberWithDefault(Object, Number) - Static method in class com.cedarsoftware.io.ArgumentHelper
- getObjsReferenced() - Method in class com.cedarsoftware.io.JsonWriter
-
Map containing all objects that were referenced within input object graph.
- getObjsReferenced() - Method in interface com.cedarsoftware.io.WriterContext
-
Provide access to all objects that are referenced
- getObjVisited() - Method in class com.cedarsoftware.io.JsonWriter
-
Map containing all objects that were visited within input object graph
- getPossibleMethodName(Map<Class<?>, Map<String, String>>, Class<?>, String) - Method in interface com.cedarsoftware.io.reflect.AccessorFactory
- getReader(InputStream) - Method in class com.cedarsoftware.io.JsonReader
-
Allow others to try potentially faster Readers.
- getReadOptions() - Method in class com.cedarsoftware.io.Resolver
- getReadOptionsBuilder(Map<String, Object>) - Static method in class com.cedarsoftware.io.JsonIo
-
Deprecated.- This exists to show how the old
Map<String, Object>
options are crreated using ReadOptionsBuilder. - getReferenceId() - Method in class com.cedarsoftware.io.JsonValue
- getReferences() - Method in class com.cedarsoftware.io.Resolver
- getResolver() - Method in class com.cedarsoftware.io.JsonReader
- getSealedSupplier() - Method in class com.cedarsoftware.io.Resolver
- 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 interface com.cedarsoftware.io.WriteOptions
-
Alias Type Names, e.g.
- getUniqueFieldName() - Method in class com.cedarsoftware.io.reflect.Accessor
-
The unique field name if two fields have the same name in the same class structure, the more parent field will be qualified with the ShortName of the Declaring class
- getUniqueFieldName() - Method in class com.cedarsoftware.io.reflect.Injector
- getUnknownTypeClass() - Method in interface com.cedarsoftware.io.ReadOptions
- 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 class com.cedarsoftware.io.JsonWriter
- 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.io.JsonIo
-
Deprecated.- This exists to show how the old
Map<String, Object>
options are crreated using WriteptionsBuilder. - getZoneId() - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultConverterOptions
H
- handleMissingField(JsonObject, Object, String) - Method in class com.cedarsoftware.io.ObjectResolver
-
Try to create a java object from the missing field.
- hashCode() - Method in class com.cedarsoftware.io.JsonObject
- hashCode() - Method in class com.cedarsoftware.io.util.SingletonList
- hashCode() - Method in class com.cedarsoftware.io.util.SingletonMap
- hasId() - Method in class com.cedarsoftware.io.JsonValue
-
A JsonObject starts off with an id of -1.
- hasPrimitiveForm(WriterContext) - Method in interface com.cedarsoftware.io.JsonWriter.JsonClassWriter
- hasPrimitiveForm(WriterContext) - Method in class com.cedarsoftware.io.writers.ByteArrayWriter
- hasPrimitiveForm(WriterContext) - Method in class com.cedarsoftware.io.Writers.PrimitiveTypeWriter
- hasPrimitiveForm(WriterContext) - Method in class com.cedarsoftware.io.Writers.UUIDWriter
- hasValue() - Method in class com.cedarsoftware.io.JsonObject
- hintType - Variable in class com.cedarsoftware.io.JsonValue
I
- id - Variable in class com.cedarsoftware.io.JsonValue
- ID - Static variable in class com.cedarsoftware.io.JsonValue
- ImmutableListFactory - Class in com.cedarsoftware.io.factory
- ImmutableListFactory() - Constructor for class com.cedarsoftware.io.factory.ImmutableListFactory
- ImmutableSetFactory - Class in com.cedarsoftware.io.factory
- ImmutableSetFactory() - Constructor for class com.cedarsoftware.io.factory.ImmutableSetFactory
- indexOf(Object) - Method in class com.cedarsoftware.io.util.SingletonList
- indexOfSmallestValue(int[]) - Static method in class com.cedarsoftware.io.MetaUtils
-
Returns the index of the smallest value in an array.
- inject(Object, Object) - Method in class com.cedarsoftware.io.reflect.Injector
- Injector - Class in com.cedarsoftware.io.reflect
- Injector(Field, MethodHandle, String, String) - Constructor for class com.cedarsoftware.io.reflect.Injector
- InjectorFactory - Interface in com.cedarsoftware.io.reflect
- InstantWriter - Class in com.cedarsoftware.io.writers
- InstantWriter() - Constructor for class com.cedarsoftware.io.writers.InstantWriter
- integerTypeBigInteger() - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Set Integer Types to be returned as BigIntegers.
- integerTypeBoth() - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Set Integer Types to be returned as either Longs or BigIntegers, depending on precision required to hold the number sourced from JSON.
- integerTypeLong() - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Set Integer Types to be returned as Longs.
- isAllowNanAndInfinity() - Method in interface com.cedarsoftware.io.ReadOptions
- isAllowNanAndInfinity() - Method in interface com.cedarsoftware.io.WriteOptions
- isAlwaysShowingType() - Method in interface com.cedarsoftware.io.WriteOptions
- isArray() - Method in class com.cedarsoftware.io.JsonObject
- isArray() - Method in class com.cedarsoftware.io.JsonValue
- isClassCoerced(String) - Method in interface com.cedarsoftware.io.ReadOptions
- isCloseStream() - Method in interface com.cedarsoftware.io.ReadOptions
- isCloseStream() - Method in interface com.cedarsoftware.io.WriteOptions
- isCollection() - Method in class com.cedarsoftware.io.JsonObject
- isConvertable(Class<?>) - Method in class com.cedarsoftware.io.Resolver
- isCustomReaderClass(Class<?>) - Method in interface com.cedarsoftware.io.ReadOptions
- isCustomWrittenClass(Class<?>) - Method in interface com.cedarsoftware.io.WriteOptions
- isEmpty() - Method in class com.cedarsoftware.io.JsonObject
- isEmpty() - Method in class com.cedarsoftware.io.util.SingletonList
- isEmpty() - Method in class com.cedarsoftware.io.util.SingletonMap
- isEmpty() - Method in class com.cedarsoftware.io.util.SingletonSet
- isEnumPublicFieldsOnly() - Method in interface com.cedarsoftware.io.WriteOptions
-
true indicates that only public fields will be output on an Enum.
- isFailOnUnknownType() - Method in interface com.cedarsoftware.io.ReadOptions
- isFinished - Variable in class com.cedarsoftware.io.JsonValue
- isFinished() - Method in class com.cedarsoftware.io.JsonValue
- isFloatingPointBigDecimal() - Method in interface com.cedarsoftware.io.ReadOptions
- isFloatingPointBoth() - Method in interface com.cedarsoftware.io.ReadOptions
- isFloatingPointDouble() - Method in interface com.cedarsoftware.io.ReadOptions
- isForceMapOutputAsTwoArrays() - Method in interface com.cedarsoftware.io.WriteOptions
- isIntegerTypeBigInteger() - Method in interface com.cedarsoftware.io.ReadOptions
- isIntegerTypeBoth() - Method in interface com.cedarsoftware.io.ReadOptions
- isIntegerTypeLong() - Method in interface com.cedarsoftware.io.ReadOptions
- isLogicalPrimitive(Class<?>) - Static method in class com.cedarsoftware.io.MetaUtils
-
Legacy API that many applications consumed.
- isLongDateFormat() - Method in interface com.cedarsoftware.io.WriteOptions
- isMap() - Method in class com.cedarsoftware.io.JsonObject
- isMethod() - Method in class com.cedarsoftware.io.reflect.Accessor
- IsMethodAccessorFactory - Class in com.cedarsoftware.io.reflect.factories
- IsMethodAccessorFactory() - Constructor for class com.cedarsoftware.io.reflect.factories.IsMethodAccessorFactory
- isMinimalShowingType() - Method in interface com.cedarsoftware.io.WriteOptions
- isNativeJsonType(Class<?>) - Static method in class com.cedarsoftware.io.Primitives
- isNeverShowingType() - Method in interface com.cedarsoftware.io.WriteOptions
- isNonReferenceableClass(Class<?>) - Method in interface com.cedarsoftware.io.ReadOptions
- isNonReferenceableClass(Class<?>) - Method in interface com.cedarsoftware.io.WriteOptions
- isNotCustomReaderClass(Class<?>) - Method in interface com.cedarsoftware.io.ReadOptions
- isNotCustomWrittenClass(Class<?>) - Method in interface com.cedarsoftware.io.WriteOptions
- ISO_DATE_FORMAT - Static variable in class com.cedarsoftware.io.JsonIo
-
Constant for use as DATE_FORMAT value
- ISO_DATE_FORMAT - Static variable in class com.cedarsoftware.io.WriteOptionsBuilder
- ISO_DATE_TIME_FORMAT - Static variable in class com.cedarsoftware.io.JsonIo
-
Constant for use as DATE_FORMAT value
- ISO_DATE_TIME_FORMAT - Static variable in class com.cedarsoftware.io.WriteOptionsBuilder
- isObjectFinal() - Method in class com.cedarsoftware.io.factory.ArrayFactory
- isObjectFinal() - Method in class com.cedarsoftware.io.factory.ConvertableFactory
-
It is expected that ConvertableFactory instances complete both instantiation of the class, and loadind og the instance data from JSON in the factory.
- isObjectFinal() - Method in class com.cedarsoftware.io.factory.RecordFactory
- isObjectFinal() - Method in class com.cedarsoftware.io.factory.StackTraceElementFactory
- isObjectFinal() - Method in class com.cedarsoftware.io.factory.ThrowableFactory
- isObjectFinal() - Method in interface com.cedarsoftware.io.JsonReader.ClassFactory
- isoDateFormat() - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Change the date-time format to the ISO date format: "yyyy-MM-dd".
- isoDateTimeFormat() - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Change the date-time format to the ISO date-time format: "yyyy-MM-dd'T'HH:mm:ss" (default).
- isPrettyPrint() - Method in interface com.cedarsoftware.io.WriteOptions
- isPrimitive(Class<?>) - Static method in class com.cedarsoftware.io.MetaUtils
-
Legacy API that many applications consumed.
- isPrimitive(Class<?>) - Static method in class com.cedarsoftware.io.Primitives
- isPublic() - Method in class com.cedarsoftware.io.reflect.Accessor
-
This will be the modifiers of the field or method that defines this MethodHandle (or Field) itself if we had to fall back to field access.
- isReference() - Method in class com.cedarsoftware.io.JsonValue
- isReturningJavaObjects() - Method in interface com.cedarsoftware.io.ReadOptions
- isReturningJsonObjects() - Method in interface com.cedarsoftware.io.ReadOptions
- isShortMetaKeys() - Method in interface com.cedarsoftware.io.WriteOptions
- isSkipNullFields() - Method in interface com.cedarsoftware.io.WriteOptions
- isTrue(Object) - Static method in class com.cedarsoftware.io.ArgumentHelper
- isWriteLongsAsStrings() - Method in interface com.cedarsoftware.io.WriteOptions
- ITEMS - Static variable in class com.cedarsoftware.io.JsonValue
- iterator() - Method in class com.cedarsoftware.io.util.SingletonList
- iterator() - Method in class com.cedarsoftware.io.util.SingletonSet
J
- JAVA_OBJECTS - Enum constant in enum com.cedarsoftware.io.ReadOptions.ReturnType
- javaType - Variable in class com.cedarsoftware.io.JsonValue
- JSON_OBJECTS - Enum constant in enum com.cedarsoftware.io.ReadOptions.ReturnType
- JsonIo - Class in com.cedarsoftware.io
-
This is the main API for json-io.
- JsonIoException - Exception Class in com.cedarsoftware.io
-
Custom RuntimeException subclass that is used as the main exception thrown by json-io.
- JsonIoException() - Constructor for exception class com.cedarsoftware.io.JsonIoException
-
Constructs a new runtime exception with
null
as its detail message. - JsonIoException(String) - Constructor for exception class com.cedarsoftware.io.JsonIoException
-
Constructs a new runtime exception with the specified detail message.
- JsonIoException(String, Throwable) - Constructor for exception class com.cedarsoftware.io.JsonIoException
-
Constructs a new runtime exception with the specified detail message and cause.
- JsonIoException(Throwable) - Constructor for exception class 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).
- 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(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(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.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.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
- 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.JsonClassWriter - Interface in com.cedarsoftware.io
-
Implement this interface to customize the JSON output for a given class.
K
- KEYS - Static variable in class com.cedarsoftware.io.JsonValue
- keySet() - Method in class com.cedarsoftware.io.JsonObject
- keySet() - Method in class com.cedarsoftware.io.util.SingletonMap
L
- lastIndexOf(Object) - Method in class com.cedarsoftware.io.util.SingletonList
- length(String) - Static method in class com.cedarsoftware.io.MetaUtils
-
Use this method when you don't want a length check to throw a NullPointerException when
- line - Variable in class com.cedarsoftware.io.JsonValue
- LINE_NUMBER - Static variable in class com.cedarsoftware.io.factory.StackTraceElementFactory
- listIterator() - Method in class com.cedarsoftware.io.util.SingletonList
- listIterator(int) - Method in class com.cedarsoftware.io.util.SingletonList
- loadMapDefinition(String) - Static method in class com.cedarsoftware.io.MetaUtils
-
Load in a Map-style properties file.
- loadResourceAsBytes(String) - Static method in class com.cedarsoftware.io.MetaUtils
-
Loads resource content as a byte[].
- loadResourceAsString(String) - Static method in class com.cedarsoftware.io.MetaUtils
-
Loads resource content as a String.
- loadSetDefinition(String) - Static method in class com.cedarsoftware.io.MetaUtils
-
Load in a Set-style simple file of values.
- LocalDateAsLong() - Constructor for class com.cedarsoftware.io.Writers.LocalDateAsLong
- LocalDateAsLong(ZoneId) - Constructor for class com.cedarsoftware.io.Writers.LocalDateAsLong
- LocalDateTimeWriter() - Constructor for class com.cedarsoftware.io.Writers.LocalDateTimeWriter
- LocalDateWriter() - Constructor for class com.cedarsoftware.io.Writers.LocalDateWriter
- LocaleWriter() - Constructor for class com.cedarsoftware.io.Writers.LocaleWriter
- LocalTimeWriter() - Constructor for class com.cedarsoftware.io.Writers.LocalTimeWriter
- LONG - Enum constant in enum com.cedarsoftware.io.ReadOptions.Integers
- longDateFormat() - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Change the java.uti.Date and java.sql.Date format output to a "long," the number of seconds since Jan 1, 1970 at midnight.
- LongWriter - Class in com.cedarsoftware.io.writers
- LongWriter() - Constructor for class com.cedarsoftware.io.writers.LongWriter
M
- main(String[]) - Static method in class com.cedarsoftware.io.JsonIo
-
Call this method to see all the conversions offered.
- MapFactory - Class in com.cedarsoftware.io.factory
- MapFactory() - Constructor for class com.cedarsoftware.io.factory.MapFactory
- MapResolver - Class in com.cedarsoftware.io
-
The MapResolver converts the raw Maps created from the JsonParser to higher quality Maps representing the implied object graph.
- MapResolver(ReadOptions, ReferenceTracker, Converter) - Constructor for class com.cedarsoftware.io.MapResolver
- matchArgumentsToParameters(Converter, Collection<Object>, Parameter[], boolean) - Static method in class com.cedarsoftware.io.MetaUtils
-
Build a List the same size of parameterTypes, where the objects in the list are ordered to best match the parameters.
- MAX_PARSE_DEPTH - Static variable in class com.cedarsoftware.io.JsonIo
-
Default maximum parsing depth
- maxDepth(int) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
- META_CLASS_FIELD_NAME - Static variable in class com.cedarsoftware.io.MetaUtils
- META_CLASS_NAME - Static variable in class com.cedarsoftware.io.MetaUtils
- MetaUtils - Class in com.cedarsoftware.io
-
This utility class has the methods mostly related to reflection related code.
- METHOD_NAME - Static variable in class com.cedarsoftware.io.factory.StackTraceElementFactory
- MethodFilter - Interface in com.cedarsoftware.io.reflect.filters
- MethodInjectorFactory - Class in com.cedarsoftware.io.reflect.factories
- MethodInjectorFactory() - Constructor for class com.cedarsoftware.io.reflect.factories.MethodInjectorFactory
- MINIMAL - Enum constant in enum com.cedarsoftware.io.WriteOptions.ShowType
- MISSING_FIELD_HANDLER - Static variable in class com.cedarsoftware.io.JsonIo
-
If set, this object will be called when a field is present in the JSON but missing from the corresponding class
- missingFieldHandler(JsonReader.MissingFieldHandler) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
- Missingfields(Object, String, Object) - Constructor for class com.cedarsoftware.io.Resolver.Missingfields
- ModifierMaskFilter - Class in com.cedarsoftware.io.reflect.filters.field
- ModifierMaskFilter(int) - Constructor for class com.cedarsoftware.io.reflect.filters.field.ModifierMaskFilter
- MODULE_NAME - Static variable in class com.cedarsoftware.io.factory.StackTraceElementFactory
- MODULE_VERSION - Static variable in class com.cedarsoftware.io.factory.StackTraceElementFactory
- MonthDayWriter() - Constructor for class com.cedarsoftware.io.Writers.MonthDayWriter
N
- NamedMethodFilter - Class in com.cedarsoftware.io.reflect.filters.method
- NamedMethodFilter(Class<?>, String) - Constructor for class com.cedarsoftware.io.reflect.filters.method.NamedMethodFilter
- NEVER - Enum constant in enum com.cedarsoftware.io.WriteOptions.ShowType
- newInstance(Converter, Class<?>, Collection<?>) - Static method in class com.cedarsoftware.io.MetaUtils
-
Create a new instance of the passed in class c.
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.ArrayFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.CharacterPrimArrayFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.CollectionFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.ConvertableFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.EmptyEnumerationFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.EmptyIteratorFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.EmptyListFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.EmptyListIteratorFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.EmptyMapFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.EmptyNavigableMapFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.EmptyNavigableSetFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.EmptySetFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.EnumClassFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.ImmutableListFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.ImmutableSetFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.MapFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.SealableListFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.SealableMapFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.SealableNavigableMapFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.SealableNavigableSetFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.SealableSetFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.StackTraceElementFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in class com.cedarsoftware.io.factory.ThrowableFactory
- newInstance(Class<?>, JsonObject, Resolver) - Method in interface com.cedarsoftware.io.JsonReader.ClassFactory
-
Implement this method to return a new instance of the passed in Class.
- newLine() - Method in class com.cedarsoftware.io.JsonWriter
-
Add newline (\n) to output
- NOT_CUSTOM_READER_MAP - Static variable in class com.cedarsoftware.io.JsonIo
-
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.io.JsonIo
-
If set, this maps class ==> CustomWriter
O
- ObjectResolver - Class in com.cedarsoftware.io
-
The ObjectResolver converts the raw Maps created from the JsonParser to Java objects (a graph of Java instances).
- ObjectResolver(ReadOptions, ReferenceTracker, Converter) - Constructor for class com.cedarsoftware.io.ObjectResolver
-
Constructor
- OffsetDateTimeWriter() - Constructor for class com.cedarsoftware.io.Writers.OffsetDateTimeWriter
- OffsetTimeWriter() - Constructor for class com.cedarsoftware.io.Writers.OffsetTimeWriter
P
- PeriodWriter - Class in com.cedarsoftware.io.writers
- PeriodWriter() - Constructor for class com.cedarsoftware.io.writers.PeriodWriter
- PRETTY_PRINT - Static variable in class com.cedarsoftware.io.JsonIo
-
Force nicely formatted JSON output
- prettyPrint(boolean) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
- PrimitiveBasicStringWriter() - Constructor for class com.cedarsoftware.io.Writers.PrimitiveBasicStringWriter
- Primitives - Class in com.cedarsoftware.io
- PrimitiveTypeWriter() - Constructor for class com.cedarsoftware.io.Writers.PrimitiveTypeWriter
- PrimitiveUtf8StringWriter() - Constructor for class com.cedarsoftware.io.Writers.PrimitiveUtf8StringWriter
- PrimitiveValueWriter() - Constructor for class com.cedarsoftware.io.Writers.PrimitiveValueWriter
- push(JsonObject) - Method in class com.cedarsoftware.io.Resolver
-
Push a JsonObject on the work stack that has not yet had it's fields move over to it's Java peer (.target)
- put(Long, JsonObject) - Method in interface com.cedarsoftware.io.ReferenceTracker
- put(Object, Object) - Method in class com.cedarsoftware.io.JsonObject
- put(K, V) - Method in class com.cedarsoftware.io.util.SingletonMap
- putAll(Map<?, ?>) - Method in class com.cedarsoftware.io.JsonObject
- putAll(Map<? extends K, ? extends V>) - Method in class com.cedarsoftware.io.util.SingletonMap
R
- read(Object, Resolver) - Method in class com.cedarsoftware.io.factory.RecordFactory.RecordReader
- read(Object, Resolver) - Method in interface com.cedarsoftware.io.JsonReader.JsonClassReader
-
Read a custom object.
- 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.Decimals - Enum in com.cedarsoftware.io
- ReadOptions.Integers - Enum in com.cedarsoftware.io
- ReadOptions.ReturnType - Enum in com.cedarsoftware.io
- ReadOptionsBuilder - Class in com.cedarsoftware.io
-
Builder class for building the writeOptions.
- ReadOptionsBuilder() - Constructor for class com.cedarsoftware.io.ReadOptionsBuilder
-
Start with default options
- ReadOptionsBuilder(ReadOptions) - Constructor for class com.cedarsoftware.io.ReadOptionsBuilder
-
Start with a copy of another ReadOptions.
- ReadOptionsBuilder.AliasApplier - Interface in com.cedarsoftware.io
- ReadOptionsBuilder.DefaultConverterOptions - Class in com.cedarsoftware.io
- readWithFactoryIfExists(Object, Class<?>) - Method in class com.cedarsoftware.io.MapResolver
- readWithFactoryIfExists(Object, Class<?>) - Method in class com.cedarsoftware.io.ObjectResolver
-
Convert the passed in object (o) to a proper Java object.
- readWithFactoryIfExists(Object, Class<?>) - Method in class com.cedarsoftware.io.Resolver
- 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
- REF - Static variable in class com.cedarsoftware.io.JsonValue
- ReferenceTracker - Interface in com.cedarsoftware.io
- refId - Variable in class com.cedarsoftware.io.JsonValue
- remove(int) - Method in class com.cedarsoftware.io.util.SingletonList
- remove(Object) - Method in class com.cedarsoftware.io.JsonObject
- remove(Object) - Method in class com.cedarsoftware.io.util.SingletonList
- remove(Object) - Method in class com.cedarsoftware.io.util.SingletonMap
- remove(Object) - Method in class com.cedarsoftware.io.util.SingletonSet
- removeAccessorFactory(String) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Remove named AccessorFactory from the access factories.
- removeAliasTypeNameMatching(String) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Remove alias entries from this ReadOptionsBuilder instance where the Java fully qualified string class name matches the passed in wildcard pattern.
- removeAliasTypeNamesMatching(String) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Remove alias entries from this WriteOptionsBuilder instance where the Java fully qualified string class name matches the passed in wildcard pattern.
- removeAll(Collection<?>) - Method in class com.cedarsoftware.io.util.SingletonList
- removeAll(Collection<?>) - Method in class com.cedarsoftware.io.util.SingletonSet
- removeFieldFilter(String) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Remove named FieldFilter from the filter chain.
- removeLeadingAndTrailingQuotes(String) - Static method in class com.cedarsoftware.io.MetaUtils
-
Strip leading and trailing double quotes from the passed in String.
- removeMethodFilter(String) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Remove named MethodFilter from the method filter chain.
- removePermanentAliasTypeNamesMatching(String) - Static method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Call this method to remove alias patterns from the ReadsOptionsBuilder.
- removePermanentAliasTypeNamesMatching(String) - Static method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Call this method to remove alias patterns from the WriteOptionsBuilder so that when it writes JSON, the classes that match the passed in pattern are not aliased.
- 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
- retainAll(Collection<?>) - Method in class com.cedarsoftware.io.util.SingletonList
- retainAll(Collection<?>) - Method in class com.cedarsoftware.io.util.SingletonSet
- 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).
S
- safelyIgnoreException(Runnable) - Static method in class com.cedarsoftware.io.MetaUtils
- safelyIgnoreException(Callable<T>, T) - Static method in class com.cedarsoftware.io.MetaUtils
- SealableListFactory - Class in com.cedarsoftware.io.factory
- SealableListFactory() - Constructor for class com.cedarsoftware.io.factory.SealableListFactory
- SealableMapFactory - Class in com.cedarsoftware.io.factory
- SealableMapFactory() - Constructor for class com.cedarsoftware.io.factory.SealableMapFactory
- SealableNavigableMapFactory - Class in com.cedarsoftware.io.factory
- SealableNavigableMapFactory() - Constructor for class com.cedarsoftware.io.factory.SealableNavigableMapFactory
- SealableNavigableSetFactory - Class in com.cedarsoftware.io.factory
- SealableNavigableSetFactory() - Constructor for class com.cedarsoftware.io.factory.SealableNavigableSetFactory
- SealableSetFactory - Class in com.cedarsoftware.io.factory
- SealableSetFactory() - Constructor for class com.cedarsoftware.io.factory.SealableSetFactory
- SealedSupplier - Class in com.cedarsoftware.io
- SealedSupplier() - Constructor for class com.cedarsoftware.io.SealedSupplier
- set(int, T) - Method in class com.cedarsoftware.io.util.SingletonList
- setCharset(Charset) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
- setCustomWrittenClasses(Map<Class<?>, JsonWriter.JsonClassWriter>) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
- setFalseCharacter(Character) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
- setFieldValue(Field, Object, Object) - Static method in class com.cedarsoftware.io.MetaUtils
- setFinished() - Method in class com.cedarsoftware.io.JsonValue
- setFinishedTarget(Object, boolean) - Method in class com.cedarsoftware.io.JsonObject
- setFinishedTarget(Object, boolean) - Method in class com.cedarsoftware.io.JsonValue
- setFormatter(DateTimeFormatter) - Method in class com.cedarsoftware.io.Writers.TemporalWriter
- setHintType(Class<?>) - Method in class com.cedarsoftware.io.JsonValue
- setId(long) - Method in class com.cedarsoftware.io.JsonValue
- setJavaType(Class<?>) - Method in class com.cedarsoftware.io.JsonValue
- setJsonArray(Object[]) - Method in class com.cedarsoftware.io.JsonObject
- setLocale(Locale) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
- setNotCustomWrittenClasses(Collection<Class<?>>) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
- setReferenceId(Long) - Method in class com.cedarsoftware.io.JsonValue
- setTarget(Object) - Method in class com.cedarsoftware.io.JsonValue
- setTrueCharacter(Character) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
- setUseUnsafe(boolean) - Static method in class com.cedarsoftware.io.MetaUtils
-
Globally turn on (or off) the 'unsafe' option of Class construction.
- setValue(Object) - Method in class com.cedarsoftware.io.JsonObject
- setZoneId(ZoneId) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
- SHORT_ID - Static variable in class com.cedarsoftware.io.JsonValue
- SHORT_ITEMS - Static variable in class com.cedarsoftware.io.JsonValue
- SHORT_KEYS - Static variable in class com.cedarsoftware.io.JsonValue
- SHORT_META_KEYS - Static variable in class com.cedarsoftware.io.JsonIo
-
If set, then @type -> @t, @keys -> @k, @items -> @i
- SHORT_REF - Static variable in class com.cedarsoftware.io.JsonValue
- SHORT_TYPE - Static variable in class com.cedarsoftware.io.JsonValue
- shortMetaKeys(boolean) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
- showTypeInfoAlways() - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Set to always show type
- showTypeInfoMinimal() - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Set to show minimal type.
- showTypeInfoNever() - Method in class com.cedarsoftware.io.WriteOptionsBuilder
-
Set to never show type
- SingletonList<T> - Class in com.cedarsoftware.io.util
- SingletonList() - Constructor for class com.cedarsoftware.io.util.SingletonList
- SingletonList(T) - Constructor for class com.cedarsoftware.io.util.SingletonList
- SingletonMap<K,
V> - Class in com.cedarsoftware.io.util - SingletonMap() - Constructor for class com.cedarsoftware.io.util.SingletonMap
- SingletonMap(K, V) - Constructor for class com.cedarsoftware.io.util.SingletonMap
- SingletonSet<T> - Class in com.cedarsoftware.io.util
- SingletonSet() - Constructor for class com.cedarsoftware.io.util.SingletonSet
- SingletonSet(T) - Constructor for class com.cedarsoftware.io.util.SingletonSet
- size() - Method in class com.cedarsoftware.io.JsonObject
- size() - Method in interface com.cedarsoftware.io.ReferenceTracker
- size() - Method in class com.cedarsoftware.io.util.SingletonList
- size() - Method in class com.cedarsoftware.io.util.SingletonMap
- size() - Method in class com.cedarsoftware.io.util.SingletonSet
- SKIP_NULL_FIELDS - Static variable in class com.cedarsoftware.io.JsonIo
-
If set, null fields are not written
- skipNullFields(boolean) - Method in class com.cedarsoftware.io.WriteOptionsBuilder
- stack - Variable in class com.cedarsoftware.io.Resolver
- StackTraceElementFactory - Class in com.cedarsoftware.io.factory
-
Factory class to create Throwable instances.
- StackTraceElementFactory() - Constructor for class com.cedarsoftware.io.factory.StackTraceElementFactory
- StaticFieldFilter - Class in com.cedarsoftware.io.reflect.filters.field
- StaticFieldFilter() - Constructor for class com.cedarsoftware.io.reflect.filters.field.StaticFieldFilter
- subList(int, int) - Method in class com.cedarsoftware.io.util.SingletonList
T
- 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)
- target - Variable in class com.cedarsoftware.io.JsonValue
- 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
- toArray() - Method in class com.cedarsoftware.io.util.SingletonList
- toArray() - Method in class com.cedarsoftware.io.util.SingletonSet
- toArray(T1[]) - Method in class com.cedarsoftware.io.util.SingletonList
- toArray(T1[]) - Method in class com.cedarsoftware.io.util.SingletonSet
- toJavaObjects(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.
- toJavaObjects(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.
- toJson(OutputStream, Object, WriteOptions) - Static method in class com.cedarsoftware.io.JsonIo
-
Convert the passed in Java source object to JSON.
- toJson(Object, WriteOptions) - Static method in class com.cedarsoftware.io.JsonIo
-
Convert the passed in Java source object to JSON.
- toObjects(JsonObject, ReadOptions, Class<T>) - Static method in class com.cedarsoftware.io.JsonIo
-
Convert a root JsonObject (Map) that represents parsed JSON, into an actual Java object.
- toObjects(InputStream, ReadOptions, Class<T>) - Static method in class com.cedarsoftware.io.JsonIo
-
Convert the passed in JSON to Java Objects.
- toObjects(String, ReadOptions, Class<T>) - Static method in class com.cedarsoftware.io.JsonIo
-
Convert the passed in JSON to Java Objects.
- 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(JsonObject) - Method in class com.cedarsoftware.io.MapResolver
- traverseArray(JsonObject) - Method in class com.cedarsoftware.io.ObjectResolver
-
Traverse the JsonObject associated to an array (of any type).
- traverseArray(JsonObject) - Method in class com.cedarsoftware.io.Resolver
- traverseCollection(JsonObject) - Method in class com.cedarsoftware.io.MapResolver
-
Process java.util.Collection and it's derivatives.
- traverseCollection(JsonObject) - Method in class com.cedarsoftware.io.ObjectResolver
-
Process java.util.Collection and it's derivatives.
- traverseCollection(JsonObject) - Method in class com.cedarsoftware.io.Resolver
- traverseFields(JsonObject) - Method in class com.cedarsoftware.io.MapResolver
-
Walk the JsonObject fields and perform necessary substitutions so that all references matched up.
- traverseFields(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(JsonObject) - Method in class com.cedarsoftware.io.Resolver
- traverseJsonObject(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 good as possible (everything except unresolved reference fields or unresolved array/collection elements).
- traverseMap(JsonObject) - Method in class com.cedarsoftware.io.Resolver
-
Process java.util.Map and it's derivatives.
- traverseSpecificType(JsonObject) - Method in class com.cedarsoftware.io.Resolver
- trimLength(String) - Static method in class com.cedarsoftware.io.MetaUtils
-
Returns the length of the trimmed string.
- trueChar() - Method in class com.cedarsoftware.io.ReadOptionsBuilder.DefaultConverterOptions
- trySetAccessible(AccessibleObject) - Static method in class com.cedarsoftware.io.MetaUtils
- TYPE - Static variable in class com.cedarsoftware.io.JsonIo
-
Force @type always
- TYPE - Static variable in class com.cedarsoftware.io.JsonValue
- TYPE_NAME_MAP - Static variable in class com.cedarsoftware.io.JsonIo
-
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.io.JsonIo
-
What to do when an object is found and 'type' cannot be determined.
- unknownTypeClass(Class<?>) - Method in class com.cedarsoftware.io.ReadOptionsBuilder
-
Set a class to use when the JSON reader cannot instantiate a class.
- USE_MAPS - Static variable in class com.cedarsoftware.io.JsonIo
-
If set, the read-in JSON will be turned into a Map of Maps (JsonObject) representation
- UUIDWriter() - Constructor for class com.cedarsoftware.io.Writers.UUIDWriter
V
- VALUE - Static variable in class com.cedarsoftware.io.JsonValue
- valueOf(String) - Static method in enum com.cedarsoftware.io.ReadOptions.Decimals
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.cedarsoftware.io.ReadOptions.Integers
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.cedarsoftware.io.ReadOptions.ReturnType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.cedarsoftware.io.WriteOptions.ShowType
-
Returns the enum constant of this type with the specified name.
- values() - Method in class com.cedarsoftware.io.JsonObject
- values() - Static method in enum com.cedarsoftware.io.ReadOptions.Decimals
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.cedarsoftware.io.ReadOptions.Integers
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.cedarsoftware.io.ReadOptions.ReturnType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class com.cedarsoftware.io.util.SingletonMap
- values() - Static method in enum com.cedarsoftware.io.WriteOptions.ShowType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- valueToTarget(JsonObject) - Method in class com.cedarsoftware.io.Resolver
W
- 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 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, 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, WriterContext) - 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_LONGS_AS_STRINGS - Static variable in class com.cedarsoftware.io.JsonIo
-
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).
- writeImpl(Object, boolean) - Method in interface com.cedarsoftware.io.WriterContext
-
Write any object fully.
- 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(WriteOptions) - Constructor for class com.cedarsoftware.io.WriteOptionsBuilder
-
Copy another WriteOptions as a starting point.
- 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, 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, WriterContext) - 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, WriterContext) - Method in class com.cedarsoftware.io.Writers.PrimitiveBasicStringWriter
- writePrimitiveForm(Object, Writer, WriterContext) - 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, WriterContext) - Method in class com.cedarsoftware.io.Writers.TemporalWriter
- writePrimitiveForm(Object, Writer, WriterContext) - 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(T, Writer) - Method in class com.cedarsoftware.io.Writers.TemporalWriter
- 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> - 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).
Y
- YearMonthWriter() - Constructor for class com.cedarsoftware.io.Writers.YearMonthWriter
- YearWriter() - Constructor for class com.cedarsoftware.io.Writers.YearWriter
Z
- ZonedDateTimeWriter() - Constructor for class com.cedarsoftware.io.Writers.ZonedDateTimeWriter
- ZoneIdWriter - Class in com.cedarsoftware.io.writers
- ZoneIdWriter() - Constructor for class com.cedarsoftware.io.writers.ZoneIdWriter
- ZoneOffsetWriter - Class in com.cedarsoftware.io.writers
- ZoneOffsetWriter() - Constructor for class com.cedarsoftware.io.writers.ZoneOffsetWriter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
ReadOptionsBuilder.addPermanentClassFactory(java.lang.Class<?>, com.cedarsoftware.io.JsonReader.ClassFactory)
instead.