Class TimestampAdapter
- java.lang.Object
-
- org.apache.johnzon.mapper.converter.TimestampAdapter
-
-
Constructor Summary
Constructors Constructor Description TimestampAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
from(Date date)
Take the POJO_TYPE object A from a POJO an convert it to JSON_TYPE which will be inserted into the JSON output.Date
to(Long aLong)
Transfer JSONTYPE_TYPE from JSON to POJO as POJO_TYPE.
-
-
-
Method Detail
-
to
public Date to(Long aLong)
Description copied from interface:Adapter
Transfer JSONTYPE_TYPE from JSON to POJO as POJO_TYPE.
-
-