Java XML and JSON : document processing for Java SE /
Saved in:
Author / Creator: | Friesen, Jeff, author. |
---|---|
Edition: | Second edition. |
Imprint: | [Berkeley, CA] : Apress, 2019. |
Description: | 1 online resource (xviii, 528 pages) : illustrations |
Language: | English |
Subject: | |
Format: | E-Resource Book |
URL for this record: | http://pi.lib.uchicago.edu/1001/cat/bib/11781192 |
Table of Contents:
- Intro; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Part I: Exploring XML; Chapter 1: Introducing XML; What Is XML?; Language Features Tour; XML Declaration; Elements and Attributes; Character References and CDATA Sections; Namespaces; Comments and Processing Instructions; Well-Formed Documents; Valid Documents; Document Type Definition; XML Schema; Summary; Chapter 2: Parsing XML Documents with SAX; What Is SAX?; Exploring the SAX API; Obtaining a SAX 2 Parser; Touring XMLReader Methods; Setting Features and Properties
- Touring the Handler and Resolver InterfacesTouring ContentHandler; Touring DTDHandler; Touring ErrorHandler; Touring EntityResolver; Touring LexicalHandler; Demonstrating the SAX API; Creating a Custom Entity Resolver; Summary; Chapter 3: Parsing and Creating XML Documents with DOM; What Is DOM?; A Tree of Nodes; Exploring the DOM API; Obtaining a DOM Parser/Document Builder; Parsing and Creating XML Documents; Demonstrating the DOM API; Parsing an XML Document; Creating an XML Document; Working with Load and Save; Loading an XML Document into a DOM Tree; Configuring a Parser
- Filtering an XML Document While ParsingSaving a DOM Tree to an XML Document; Working with Traversal and Range; Performing Traversals; Performing Range Operations; Summary; Chapter 4: Parsing and Creating XML Documents with StAX; What Is StAX?; Exploring StAX; Parsing XML Documents; Parsing Documents with Stream-Based Readers; Parsing Documents with Event-Based Readers; Creating XML Documents; Creating Documents with Stream-Based Writers; Creating Documents with Event-Based Writers; Summary; Chapter 5: Selecting Nodes with XPath; What Is XPath?; XPath Language Primer; Location Path Expressions
- General ExpressionsXPath and DOM; Advanced XPath; Namespace Contexts; Extension Functions and Function Resolvers; Variables and Variable Resolvers; Summary; Chapter 6: Transforming XML Documents with XSLT; What Is XSLT?; Exploring the XSLT API; Demonstrating the XSLT API; Going Beyond XSLT 1.0 and XPath 1.0; Downloading and Testing SAXON-HE 9.9; Playing with SAXON-HE 9.9; Summary; Part II: Exploring JSON; Chapter 7: Introducing JSON; What Is JSON?; JSON Syntax Tour; Demonstrating JSON with JavaScript; Validating JSON Objects; Summary; Chapter 8: Parsing and Creating JSON Objects with mJson
- What Is mJson?Obtaining and Using mJson; Exploring the Json Class; Creating Json Objects; Learning About Json Objects; Navigating Json Object Hierarchies; Modifying Json Objects; Validation; Customization via Factories; Summary; Chapter 9: Parsing and Creating JSON Objects with Gson; What Is Gson?; Obtaining and Using Gson; Exploring Gson; Introducing the Gson Class; Parsing JSON Objects Through Deserialization; Customized JSON Object Parsing; Creating JSON Objects Through Serialization; Customized JSON Object Creation; Learning More About Gson; Annotation Types; Exposing and Hiding Fields