• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java/XML/JSON

 
Maurizzio de león
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
I have a big doubt.
How I can save the data of an XML file to a list or array in JAVA?

It's a school project, I can not use special libraries like JDOM or JParser etc.

If only you could help me with the idea on saving would appreciate it very much. I was using indexOf and lastIndexOf.

Also how I can convert XML files to JSON or JSON to XML? No special libraries.

Thank you very much friends.
 
Anindya Roy
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
read the xml file or string in java. read each node of the xml file in java.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic