A C D E F G I J L M O R S W 
All Classes All Packages

A

addAdapter(String, Class, Class) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
registering an adapter.
addAdapter(String, Class, Class) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
addAdapter(String, Class, Class) - Method in interface org.apache.fulcrum.json.JsonService
Adds an adapter (mixin, serializer,..) for the target class depending on the JsonService implementation.
addAdapter(String, Class, Object) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
registering an adapter
addAdapter(String, Class, Object) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
Add a named module or a Module.
addAdapter(String, Class, Object) - Method in interface org.apache.fulcrum.json.JsonService
Add an adapter (mixin, serializer,..) for the target class depending on the JsonService implementation.
addSimpleModule(SimpleModule, Class<T>, JsonDeserializer<T>) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
addSimpleModule(SimpleModule, Class<T>, JsonSerializer<T>) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 

C

CacheService - Class in org.apache.fulcrum.json.jackson
 
CacheService(AnnotationIntrospector) - Constructor for class org.apache.fulcrum.json.jackson.CacheService
 
clazz - Variable in class org.apache.fulcrum.json.jackson.MixinModule
 
configure(Configuration) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
configure(Configuration) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
Avalon component lifecycle method
CustomModule<T> - Class in org.apache.fulcrum.json.jackson
 
CustomModule(String, Class<T>, StdSerializer<T>, StdDeserializer<T>) - Constructor for class org.apache.fulcrum.json.jackson.CustomModule
Instantiate a custom module
CustomModuleWrapper<T> - Class in org.apache.fulcrum.json.jackson.filters
Provides a wrapper module as a helper class for the inner class CustomModule.
CustomModuleWrapper(StdSerializer<T>, StdDeserializer<T>) - Constructor for class org.apache.fulcrum.json.jackson.filters.CustomModuleWrapper
Constructor for the custom module wrapper

D

DateTypeAdapter - Class in org.apache.fulcrum.json.gson
Adapter for Date.
DateTypeAdapter() - Constructor for class org.apache.fulcrum.json.gson.DateTypeAdapter
 
DEFAULTDATEFORMAT - Static variable in class org.apache.fulcrum.json.jackson.Jackson2MapperService
Default dateformat is MM/dd/yyyy, could be overwritten in Jackson2MapperService.setDateFormat(DateFormat).
DefaultJsonPathWrapper - Class in org.apache.fulcrum.json.jackson.jsonpath
Intermediary class to wrap @link JsonPath default configuration setting Configuration.setDefaults(Defaults) with JsonPathDefault.
DefaultJsonPathWrapper(ObjectMapper) - Constructor for class org.apache.fulcrum.json.jackson.jsonpath.DefaultJsonPathWrapper
 
deSer(Object, Class<T>) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
basically wrapper for ObjectMapper.convertValue(Object, Class).
deSer(String, Class<T>) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
deSer(String, Class<T>) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
deSer(String, Class<T>) - Method in interface org.apache.fulcrum.json.JsonService
Deserializing a JSON string
deSerCollection(String, Object, Class<T>) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
deSerCollection(String, Object, Class<T>) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
deSerCollection(String, Object, Class<T>) - Method in interface org.apache.fulcrum.json.JsonService
This is to deserialize collections.
deSerCollectionWithType(String, Class<? extends Collection>, Class<T>) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
deSerCollectionWithTypeReference(String, TypeReference<T>) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
deSerList(String, Class<? extends List>, Class<T>) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
deSerMap(String, Class<? extends Map>, Class<T>, Class<U>) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 

E

enableLogging(Logger) - Method in class org.apache.fulcrum.json.jackson.CacheService
 
enableLogging(Logger) - Method in class org.apache.fulcrum.json.jackson.SimpleNameIntrospector
 

F

FACTORY - Static variable in class org.apache.fulcrum.json.gson.DateTypeAdapter
 
FilterContext - Class in org.apache.fulcrum.json.jackson.filters
Deprecated.
FilterContext() - Constructor for class org.apache.fulcrum.json.jackson.filters.FilterContext
Deprecated.
 
findFilterId(Annotated) - Method in class org.apache.fulcrum.json.jackson.SimpleNameIntrospector
 

G

getCustomDateFormat() - Method in class org.apache.fulcrum.json.gson.DateTypeAdapter
 
getDeSer() - Method in class org.apache.fulcrum.json.jackson.filters.CustomModuleWrapper
 
getFilter() - Method in class org.apache.fulcrum.json.jackson.filters.FilterContext
Deprecated.
 
getFilteredClasses() - Method in class org.apache.fulcrum.json.jackson.SimpleNameIntrospector
 
getFilters() - Method in class org.apache.fulcrum.json.jackson.CacheService
 
getIsExludeType() - Method in class org.apache.fulcrum.json.jackson.SimpleNameIntrospector
 
getJsonPathDefault() - Method in class org.apache.fulcrum.json.jackson.jsonpath.DefaultJsonPathWrapper
 
getJsonService() - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
getMapper() - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
getSer() - Method in class org.apache.fulcrum.json.jackson.filters.CustomModuleWrapper
 
GSONBuilderService - Class in org.apache.fulcrum.json.gson
By default multiple serialization of the same object in a single thread is not support (e.g adapter + default for the same bean / object).
GSONBuilderService() - Constructor for class org.apache.fulcrum.json.gson.GSONBuilderService
 

I

initialize() - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
initialize() - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
isCacheFilters() - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
isIgnorableType(AnnotatedClass) - Method in class org.apache.fulcrum.json.jackson.SimpleNameIntrospector
Filtering on method types.

J

Jackson2MapperService - Class in org.apache.fulcrum.json.jackson
By default multiple serialization of the same object in a single thread is not supported (e.g filter + mixin or default + filter for the same bean / object).
Jackson2MapperService() - Constructor for class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
JsonPathDefault - Class in org.apache.fulcrum.json.jackson.jsonpath
Intermediary class implementing Configuration.Defaults by glueing Jackson2MapperService.getMapper() with internal objects JacksonJsonProvider and JacksonMappingProvider.
JsonPathDefault(ObjectMapper) - Constructor for class org.apache.fulcrum.json.jackson.jsonpath.JsonPathDefault
 
jsonProvider() - Method in class org.apache.fulcrum.json.jackson.jsonpath.JsonPathDefault
 
JsonService - Interface in org.apache.fulcrum.json
This class defines custom methods needed to serialize and deserialize and helper methods if needed.

L

loadClass(String) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
Loads the named class using the default class loader.

M

mappingProvider() - Method in class org.apache.fulcrum.json.jackson.jsonpath.JsonPathDefault
 
mixin - Variable in class org.apache.fulcrum.json.jackson.MixinModule
 
MixinModule - Class in org.apache.fulcrum.json.jackson
 
MixinModule(String, Class, Class) - Constructor for class org.apache.fulcrum.json.jackson.MixinModule
 

O

options() - Method in class org.apache.fulcrum.json.jackson.jsonpath.JsonPathDefault
 
org.apache.fulcrum.json - package org.apache.fulcrum.json
 
org.apache.fulcrum.json.gson - package org.apache.fulcrum.json.gson
 
org.apache.fulcrum.json.jackson - package org.apache.fulcrum.json.jackson
 
org.apache.fulcrum.json.jackson.filters - package org.apache.fulcrum.json.jackson.filters
 
org.apache.fulcrum.json.jackson.jsonpath - package org.apache.fulcrum.json.jackson.jsonpath
 

R

read(JsonReader) - Method in class org.apache.fulcrum.json.gson.DateTypeAdapter
 
registerModule(Module) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
registerTypeAdapter(Object, Type) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
removeExternalFilterExcludeClass(Class<?>) - Method in class org.apache.fulcrum.json.jackson.SimpleNameIntrospector
 
removeExternalFilterIncludeClasses(Class<?>) - Method in class org.apache.fulcrum.json.jackson.SimpleNameIntrospector
 
removeFilteredClass(Class<?>) - Method in class org.apache.fulcrum.json.jackson.SimpleNameIntrospector
 
ROLE - Static variable in interface org.apache.fulcrum.json.JsonService
Avalon Identifier

S

ser(Object) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
ser(Object) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
ser(Object) - Method in interface org.apache.fulcrum.json.JsonService
Serializes a Java object
ser(Object, FilterProvider) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
ser(Object, FilterProvider, Boolean) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
ser(Object, Boolean) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
ser(Object, Boolean) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
ser(Object, Boolean) - Method in interface org.apache.fulcrum.json.JsonService
 
ser(Object, Class<T>) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
ser(Object, Class<T>) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
ser(Object, Class<T>) - Method in interface org.apache.fulcrum.json.JsonService
Serializes a Java object
ser(Object, Class<T>, Boolean) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
ser(Object, Class<T>, Boolean) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
ser(Object, Class<T>, Boolean) - Method in interface org.apache.fulcrum.json.JsonService
Serialize an object
serCollectionWithTypeReference(Collection<T>, TypeReference, Boolean) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
serializeAllExceptFilter(Object, Boolean, String...) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
serializeAllExceptFilter(Object, Boolean, String...) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
serializeAllExceptFilter(Object, Boolean, String...) - Method in interface org.apache.fulcrum.json.JsonService
Class Filter is derived from param src object class.
serializeAllExceptFilter(Object, Class<T>[], Boolean, String...) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
serializeAllExceptFilter(Object, Class<T>[], String...) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
serializeAllExceptFilter(Object, Class<T>, Boolean, String...) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
serializeAllExceptFilter(Object, Class<T>, Boolean, String...) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
serializeAllExceptFilter(Object, Class<T>, Boolean, String...) - Method in interface org.apache.fulcrum.json.JsonService
Serialize all object properties excluding provided filters attributes.
serializeAllExceptFilter(Object, Class<T>, String...) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
serializeAllExceptFilter(Object, Class<T>, String...) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
serializeAllExceptFilter(Object, Class<T>, String...) - Method in interface org.apache.fulcrum.json.JsonService
Class Filter is derived from param src object class.
serializeAllExceptFilter(Object, String...) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
serializeAllExceptFilter(Object, String...) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
serializeAllExceptFilter(Object, String...) - Method in interface org.apache.fulcrum.json.JsonService
 
serializeOnlyFilter(Object, Boolean, String...) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
serializeOnlyFilter(Object, Boolean, String...) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
serializeOnlyFilter(Object, Boolean, String...) - Method in interface org.apache.fulcrum.json.JsonService
Custom method.
serializeOnlyFilter(Object, Class<T>[], Boolean, String...) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
serializeOnlyFilter(Object, Class<T>, Boolean, String...) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
serializeOnlyFilter(Object, Class<T>, Boolean, String...) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
serializeOnlyFilter(Object, Class<T>, Boolean, String...) - Method in interface org.apache.fulcrum.json.JsonService
Serialize only object properties where filter attributes are provided.
serializeOnlyFilter(Object, Class<T>, String...) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
serializeOnlyFilter(Object, Class<T>, String...) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
serializeOnlyFilter(Object, Class<T>, String...) - Method in interface org.apache.fulcrum.json.JsonService
 
serializeOnlyFilter(Object, String...) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
serializeOnlyFilter(Object, String...) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
serializeOnlyFilter(Object, String...) - Method in interface org.apache.fulcrum.json.JsonService
Custom method without caching.
SERVICE_NAME - Static variable in interface org.apache.fulcrum.json.JsonService
 
setCacheFilters(boolean) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
setCustomDateFormat(DateFormat) - Method in class org.apache.fulcrum.json.gson.DateTypeAdapter
 
setDateFormat(String) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
Alternative method to calling GSONBuilderService.registerTypeAdapter(Object, Type) Note: Always use either this direct format call or the other adapter register call, otherwise inconsistencies may occur!
setDateFormat(DateFormat) - Method in class org.apache.fulcrum.json.gson.GSONBuilderService
 
setDateFormat(DateFormat) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
setDateFormat(DateFormat) - Method in interface org.apache.fulcrum.json.JsonService
 
setDeSer(StdDeserializer<T>) - Method in class org.apache.fulcrum.json.jackson.filters.CustomModuleWrapper
 
setExternalFilterExcludeClasses(Class<?>...) - Method in class org.apache.fulcrum.json.jackson.SimpleNameIntrospector
 
setExternalFilterIncludeClasses(Class<?>...) - Method in class org.apache.fulcrum.json.jackson.SimpleNameIntrospector
 
setFilter(PropertyFilter) - Method in class org.apache.fulcrum.json.jackson.filters.FilterContext
Deprecated.
 
setFilteredClass(Class<?>) - Method in class org.apache.fulcrum.json.jackson.SimpleNameIntrospector
 
setFilteredClasses(Class<?>...) - Method in class org.apache.fulcrum.json.jackson.SimpleNameIntrospector
 
setFilters(Map<String, FilterProvider>) - Method in class org.apache.fulcrum.json.jackson.CacheService
 
setIsExludeType(boolean) - Method in class org.apache.fulcrum.json.jackson.SimpleNameIntrospector
 
setMapper(ObjectMapper) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
setMixins(Class, Class) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
setSer(StdSerializer<T>) - Method in class org.apache.fulcrum.json.jackson.filters.CustomModuleWrapper
 
setupModule(Module.SetupContext) - Method in class org.apache.fulcrum.json.jackson.MixinModule
 
showMixinForClass(Class) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
 
SimpleNameIntrospector - Class in org.apache.fulcrum.json.jackson
The intent of this custom introspector is to provide filtering capabilities by using String parameters (properties and class types), which could be adjusted e.g. from a scriptable context (velocity template).
SimpleNameIntrospector() - Constructor for class org.apache.fulcrum.json.jackson.SimpleNameIntrospector
 

W

withMixinModule(Object, String, Class, Class) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
set a single mixin. convenience method, calls ObjectMapper.registerModule(Module)
withSetMixins(Object, Class, Class) - Method in class org.apache.fulcrum.json.jackson.Jackson2MapperService
This is a convenience method with read, but the old mixins will be cleared ObjectMapper.setMixIns(Map)
write(JsonWriter, Date) - Method in class org.apache.fulcrum.json.gson.DateTypeAdapter
 
A C D E F G I J L M O R S W 
All Classes All Packages