| Package | Description |
|---|---|
| com.tomasteubner.common.json.mapper |
This package contains some standard mappers.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> RawMapper.ToJSON<T> |
RawMapper.toJSONAnnotated(Class<T> clazz,
Method method)
Create mapping from object to JSON from a @ToJSON annotated method.
|
static <T> RawMapper.ToJSON<T> |
RawMapper.toJSONDefault(Class<T> clazz)
Create default mapping from object to JSON.
|
| Constructor and Description |
|---|
RawMapper(Class<T> type,
RawMapper.ToJSON<T> toJSON,
RawMapper.FromJSON<T> fromJSON)
Create a new mapper for a @JSONRaw annotated class.
|
Copyright © 2014–2016 Tomas Teubner. All rights reserved.