Master the XML metalanguage and JSON data format along with significant Java APIs for parsing and creating XML/JSON documents (and more). The first six chapters focus on XML along with the SAX, DOM, StAX, XPath, and XSLT APIs. The remaining four chapters focus on JSON along with the mJson, GSON, and JsonPath APIs.
Each chapter in Java XML and JSON ends with select exercises designed to challenge your grasp of the chapter's content. An appendix provides the answers to these exercises.
What You'll Learn
- Validate XML documents
- Parse XML documents with the SAX, DOM, and StAX APIs
- Create XML documents with the DOM and StAX APIs
- Extract values from XML documents with the XPath API
- Transform XML documents with the XSLT API
- Master the JSON format Validate JSON documents
- Parse and create JSON documents with the mJson and Gson APIs
- Extract values from JSON documents with the JsonPath API
Who This Book Is For
Intermediate or advanced Java programmers/developers.