--
You received this message because you are subscribed to the Google Groups "jsonschema2pojo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jsonschema2pojo-...@googlegroups.com.
Visit this group at http://groups.google.com/group/jsonschema2pojo-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "jsonschema2pojo-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jsonschema2pojo-users/EUSuOI5Ymxg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jsonschema2pojo-...@googlegroups.com.
If you just want this to apply to one property then you should be able to achieve what you want using:{
"properties":{
"number": {
"type": "object",
"javaType": "java.math.BigInteger"
}
}
}
Andrew, many people use schemas as a simple way to create Java types. They don't use the schemas for validation and don't much care if semantics of the schema are correct.
Yes, the suggestion above is definitely a hack. A workaround that achieves a Java type structure that isn't currently supported. The real solution here is GitHub #161.
--
Andrew, many people use schemas as a simple way to create Java types. They don't use the schemas for validation and don't much care if semantics of the schema are correct.
Why would you do that when you could just write a Java class?
Why would you do that when you could just write a Java class?
My guess is that it has something to do with the verbosity of Java.