Skip to content

Configuration option to use Joda types #110

@joelittlejohn

Description

@joelittlejohn

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions