Java XML and JSON describes the popular XML and JSON data-interchange languages. You explore each language and learn how to parse/create XML-based documents and parse JSON-based documents via various Java APIs. You also learn how XML and JSON are used in AJAX (and AJAJ), Android, Big Data, and Web Services contexts, all from the Java perspective. What you'll learn
How to use Java, JSON and XML together to build services, big data
How to use XML; parse XML documents with SAX, DOM, StAX; selecting nodes with XPath; and transform XML documents with XSLT
What is JSON and how to explore parsing JSON content with Google GSON, Jackson, Quick JSON
How to roll your own JSON APIs
How to use XML and JSON with Ajax, Android, big data and web services
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 LearnMaster the XML languageLearn how to validate XML documentsLearn how to parse XML documents with the SAX, DOM, and StAX APIsLearn how to create XML documents with the DOM and StAX APIsLearn how to extract values from XML documents with the XPath APILearn how to transform XML documents with the XSLT APIMaster the JSON formatLearn how to validate JSON documentsLearn how to parse and create JSON documents with the mJson and Gson APIsLearn how to extract values from JSON documents with the JsonPath APIWho This Book Is ForIntermediate or advanced Java programmers/developers. A unique accelerated practical treatment of JSON Includes important areas where this can be applied: big data, Android and web services Jeff Friesen is a JavaWorld.com columnist and highly respected Java expert, author and coder
A first to market book with this practical, applied approach to JSON and XML
JSON, JavaScript, Java are all highly relevant memes in terms of ebook databases.
Jeff Friesen is a JavaWorld.com columnist and highly respected Java expert, author and coder
These memes also were highly relevant in MIS (popular keyword searches from StackOverFlow/StackExchange.
“This book is a succinct primer suitable for those who need to quickly acquire a basic proficiency in dealing with these two most popular methods of data integration and information exchange. The book introduces both XML and JSON at the most basic level … . Summing Up: Recommended. All readership levels.” (F. H. Wild III, Choice, Vol. 54 (5), January, 2017)
“Java XML and JSON can be used as both a self-study guide and a reference for Extensible Markup Language (XML) and JSON documents and their processing in Java. … Readers will get a good understanding of the basic language concepts as well as a working knowledge of parsing methods for hierarchical documents. Each chapter is concisely written and has plenty of code examples (which can be downloaded and run), as well as implementation notes, a review test, and a summary.” (Rosario Uceda-Sosa, Computing Reviews, December, 2016)