Class DateWithCopyConverter
- java.lang.Object
-
- org.apache.johnzon.mapper.converter.DateWithCopyConverter
-
-
Constructor Summary
Constructors Constructor Description DateWithCopyConverter(Adapter<Date,String> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
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(String s)
Transfer JSONTYPE_TYPE from JSON to POJO as POJO_TYPE.
-
-
-
Method Detail
-
to
public Date to(String s)
Description copied from interface:Adapter
Transfer JSONTYPE_TYPE from JSON to POJO as POJO_TYPE.
-
-