Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
3 Answers
- Anonymous8 years agoFavorite Answer
Hi
Try this: http://www.json.org/xml.html
Source(s): www.nextgenitsolutions.co.uk - deonejuanLv 78 years ago
If you speak of the java framework, the xml is included in JavaSE. Json is a separate add-on jar download. Json gives you the option of processing in-place, line-for-line or loading the whole document into memory and then begin marshaling. I seem to recall <xml> api as redundant document.getChildren() and then getChild(), getChild(), getChild(), in other words more redundant. I recall the Java API <xml> parser as too specific with a vast choice of using the right class for the job.
The choice would be if you wish to write code that already has the libraries included or elect to include/link JSON and/or Xerxes thus requiring you to learn the call-outs for the optional add-ons.
- 8 years ago
As I inderstand it, for API type work or coding, xml is too vrbose wheras JSON is not, it is much less code and performs faster.