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 Longfrom(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.Dateto(Long aLong)Transfer JSONTYPE_TYPE from JSON to POJO as POJO_TYPE.
-
-
-
Method Detail
-
to
public Date to(Long aLong)
Description copied from interface:AdapterTransfer JSONTYPE_TYPE from JSON to POJO as POJO_TYPE.
-
-