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