• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 563
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 1327
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic