Win a copy of Programmers Guide to Apache Thrift this week in the Open Source forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Java XML and JSON : what is new in this second edition ?  RSS feed

 
Ranch Hand
Posts: 560
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeff Friesen,

Congratulations for this second edition of the book.
I am curious to know what is new in this second edition.
Did you add new chapters and/or added content to existing chapters ?

I guess the first edition was a success otherwise this second edition would not have been possible.
Thanks.

 
Author
Posts: 86
5
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Celinio,

There are several new features in the second edition:

1) Chapter 2 shows the proper way to obtain an XML reader. The previous edition's approach is deprecated.
2) Chapter 3 also introduces the DOM's Load and Save, Range, and Traversal APIs.
3) Chapter 6 shows how to work with SAXON to move beyond XSLT/XPath 1.0.
4) Chapter 11 is a new (lengthy) chapter that explores Jackson.
5) Chapter 12 is a new (lengthy) chapter that explores JSON-P.

Also, several minor corrections to previous edition content have been made, various figures have been updated, and numerous new exercises have been added.

Jeff
 
Ranch Hand
Posts: 1323
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the book cover performance of the library between parsing/interpreting XML and JSON with same structure? and also writing XML and JSON? also for very JSON file(e.g. 1~2 megabytes) when reading and/or writing such file what is the best tactic or pattern to achieve optimized performance.
 
Jeffrey Friesen
Author
Posts: 86
5
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Billy,

The book does not focus on performance. If there is another edition, performance would be covered. Meanwhile, you might want to check out blog posts such as

Parsing a large JSON file efficiently and easily: https://www.ngdata.com/parsing-a-large-json-file-efficiently-and-easily/

Jeff
 
This tiny ad is wafer thin:
ScroogeXHTML - small and flexible RTF to HTML converter library
https://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!