Document Processing for Java SE
Buch, Englisch, 528 Seiten, Format (B × H): 178 mm x 254 mm, Gewicht: 1018 g
ISBN: 978-1-4842-4329-9
Verlag: Apress
All examples in this book have been tested under Java 11. In some cases, source code has been simplified to use Java 11’s var language feature. The first six chapters focus on XML along with the SAX, DOM, StAX, XPath, and XSLT APIs. The remaining six chapters focus on JSON along with the mJson, GSON, JsonPath, Jackson, and JSON-P 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
- Create, validate, parse, and transform XML documents
- Apply Java’s SAX, DOM, StAX, XPath, and XSLT APIs
- Master the JSON format for serializing and transmitting data
- Code against third-party APIs such as Jackson, mJson, Gson, JsonPath
- Master Oracle’s JSON-P API in a Java SE context
Who This Book Is For
Intermediate and advanced Java programmers who are developing applications that must access data stored in XML or JSON documents. The book also targets developers wanting to understand the XML language and JSON data format.
Zielgruppe
Professional/practitioner
Autoren/Hrsg.
Fachgebiete
Weitere Infos & Material
Part 1: Exploring XML.-.-Chapter 1: Introducing XML.-Chapter 2: Parsing XML Documents with SAX.-Chapter 3: Parsing and Creating XML Documents with DOM.-Chapter 4: Parsing and Creating XML Documents with StAX.-Chapter 5: Selecting Nodes with XPath.-Chapter 6: Transforming XML Documents with XSLT.-.-Part 2: Exploring JSON.-.-Chapter 7: Introducing JSON.-Chapter 8: Parsing and Creating JSON Objects with mJson.-Chapter 9: Parsing and Creating JSON Objects with Gson .-Chapter.-10: Extracting JSON Values with JsonPath.-Chapter 11: Processing JSON with Jackson.-Chapter 12: Processing JSON with JSON-P.-.-Part 3: Appendixes.-.-Chapter 13: Appendix A: Answers to Exercises.