Book description
Java XML and JSON is your one-stop guide to mastering 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 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
Master the XML language
Learn how to validate XML documents
Learn how to parse XML documents with the SAX, DOM, and StAX APIs
Learn how to create XML documents with the DOM and StAX APIs
Learn how to extract values from XML documents with the XPath API
Learn how to transform XML documents with the XSLT API
Master the JSON format
Learn how to validate JSON documents
Learn how to parse and create JSON documents with the mJson and Gson APIs
Learn how to extract values from JSON documents with the JsonPath API
Who This Book Is For
Intermediate or advanced Java programmers/developers.
Table of contents
- Cover
- Frontmatter
- 1. Introducing XML
- 2. Parsing XML Documents with SAX
- 3. Parsing and Creating XML Documents with DOM
- 4. Parsing and Creating XML Documents with StAX
- 5. Selecting Nodes with XPath
- 6. Transforming XML Documents with XSLT
- 7. Introducing JSON
- 8. Parsing and Creating JSON Objects with mJson
- 9. Parsing and Creating JSON Objects with Gson
- 10. Extracting JSON Values with JsonPath
- Backmatter
Product information
- Title: Java XML and JSON
- Author(s):
- Release date: June 2016
- Publisher(s): Apress
- ISBN: 9781484219164
You might also like
book
Java XML and JSON: Document Processing for Java SE
Use this guide to master the XML metalanguage and JSON data format along with significant Java …
book
Java I/O
All of Java's Input/Output (I/O) facilities are based on streams, which provide simple ways to read …
book
Java and XML, 3rd Edition
Java and XML, 3rd Edition, shows you how to cut through all the hype about XML …
book
RESTful Java Web Services - Second Edition
Design scalable and robust RESTful web services with JAX-RS and Jersey extension APIs About This Book …