S - type of subjectpublic abstract class BaseConfig<S> extends Config<S> implements CodecContext
Config with access to CodecService.Config.FieldPresence| Constructor and Description | 
|---|
BaseConfig()  | 
| Modifier and Type | Method and Description | 
|---|---|
<T> JsonCodec<T> | 
codec(Class<T> entityClass)
Returns the JSON codec for the specified entity class. 
 | 
protected <T> T | 
decode(String json,
      Class<T> entityClass)
Decodes the specified entity from JSON using codec
 registered to this context. 
 | 
<T> T | 
getService(Class<T> serviceClass)
Returns reference to the specified service implementation. 
 | 
com.fasterxml.jackson.databind.ObjectMapper | 
mapper()
Returns the JSON object mapper. 
 | 
apply, clear, get, get, get, get, get, get, getList, getList, hasField, hasField, hasFields, hasFields, hasOnlyFields, hasOnlyFields, init, isBoolean, isBoolean, isConnectPoint, isConnectPoint, isDecimal, isDecimal, isIntegralNumber, isIntegralNumber, isIpAddress, isIpAddress, isIpPrefix, isIpPrefix, isMacAddress, isMacAddress, isNumber, isNumber, isString, isString, isTpPort, isTpPort, isValid, isValidLength, key, node, setList, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, subject, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdecode, encodepublic <T> JsonCodec<T> codec(Class<T> entityClass)
CodecContextcodec in interface CodecContextT - entity typeentityClass - entity classpublic <T> T getService(Class<T> serviceClass)
CodecContextgetService in interface CodecContextT - service typeserviceClass - service classpublic com.fasterxml.jackson.databind.ObjectMapper mapper()
CodecContextmapper in interface CodecContext