-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elements with similar names are overwritten #93
Comments
From [email protected] on March 17, 2013 08:13:02 |
From [email protected] on March 18, 2013 15:29:37 Thank you for the effort, but the issue is not resolved and it still persists. I might have not given a proper description before. Please consider the example below, PriceDetails is creating a bean class PriceDetail and overwriting the inner PriceDetail Bean class file { In the above example PriceDetail bean gets replaced by the Bean PriceDetails. Thank you for assisting, kindly comment if you need more info. I am using the Command Line I am Using the Latest Version of the Lib (0.3.5) Thanks, |
From [email protected] on March 18, 2013 19:00:05 If you want to try this sooner, you could build a snapshot version from the current master. |
From [email protected] on March 26, 2013 15:58:51 Thanks for your efforts, I took the latest code and it works like a charm. Thank you, Tested the below Json and it generated the following POJOS. com\T\retail\Links.java { |
Original author: [email protected] (March 06, 2013 12:33:06)
Please consider the example below, PriceDetails is creating a bean class PriceDetail and overwriting the inner PriceDetail Bean class file
{
"priceDetails": [
{
"description" : "TEST",
"PriceDetail" : {"amount" : 300, "code" : "USD"}
}
{......}
}
I am using the Command Line
jsonschema2pojo -a JACKSON2 --source sourceJson -t output -T JSON -E -S -p com.T.retail -P
I am Using the Latest Version of the Lib (0.3.5)
Kindly mail me if you need more details.
Thank you,
Ravi.
(Its really nice piece of tool).
Original issue: http://code.google.com/p/jsonschema2pojo/issues/detail?id=93
The text was updated successfully, but these errors were encountered: