Original author: stackma...@gmail.com (June 17, 2013 12:30:45)
Given a normal simple type declaration like { "type": "string", "required": "true", "format": "date-time" }, I would like to use joda-time instead of the jvm date types. I've tried several ideas like using org.joda.time.DateTime for the value of type (will result in Object as type) or an additional javaType (will generate a new DateTime class) or format (will result in String as type)
Is there a way to reference any other pre-existing java type? If not, would you consider implementing this?
Thank you
Patrick
Original issue: http://code.google.com/p/jsonschema2pojo/issues/detail?id=110
Original author: stackma...@gmail.com (June 17, 2013 12:30:45)
Given a normal simple type declaration like { "type": "string", "required": "true", "format": "date-time" }, I would like to use joda-time instead of the jvm date types. I've tried several ideas like using org.joda.time.DateTime for the value of type (will result in Object as type) or an additional javaType (will generate a new DateTime class) or format (will result in String as type)
Is there a way to reference any other pre-existing java type? If not, would you consider implementing this?
Thank you
Patrick
Original issue: http://code.google.com/p/jsonschema2pojo/issues/detail?id=110