• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

could not convert the xml to json using java

 
gopal krishnan
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have the xml file, i need to convert into the json. the json output is the partial convert of the xml, not whole xml is converted..

Reason you can find the output of the json, only partial is being converted. remaining portion is omitted.


OUTPUT
============




INPUT XML FILE
=============






 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I moved this to the XML forum for you as I don't see any relevance to Spring.
 
Paul Clapham
Sheriff
Pie
Posts: 20735
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's true that the JSON representation is much harder to read than the XML representation, but after I worked my way through it I couldn't see anything in the XML which wasn't in the JSON. But perhaps I didn't read carefully enough? What part of the XML do you think is missing from the JSON?
 
gopal krishnan
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply, it's just the order of parsing in the xml to json being changed..
 
Paul Clapham
Sheriff
Pie
Posts: 20735
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good. Problem solved then?
 
gopal krishnan
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes the problem is resolved.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic