Class JsDateJsonValueProcessor

  • All Implemented Interfaces:
    JsonValueProcessor

    public class JsDateJsonValueProcessor
    extends Object
    implements JsonValueProcessor
    Transforms a java.util.Date property into a JSONObject ideal for JsDate conversion
    Author:
    Andres Almiray
    • Constructor Detail

      • JsDateJsonValueProcessor

        public JsDateJsonValueProcessor()
    • Method Detail

      • processObjectValue

        public Object processObjectValue​(String key,
                                         Object value,
                                         JsonConfig jsonConfig)
        Description copied from interface: JsonValueProcessor
        Processes the value an returns a suitable JSON value.
        Specified by:
        processObjectValue in interface JsonValueProcessor
        Parameters:
        key - the name of the property
        value - the value of the property
        Returns:
        a valid JSON value that represents the input property