Java XML and JSON -  Jeff Friesen

Java XML and JSON (eBook)

Document Processing for Java SE

(Autor)

eBook Download: PDF
2019 | 2. Auflage
XVIII, 528 Seiten
Apress (Verlag)
978-1-4842-4330-5 (ISBN)
Systemvoraussetzungen
79,99 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
Use this guide to master the XML metalanguage and JSON data format along with significant Java APIs for parsing and creating XML and JSON documents from the Java language. New in this edition is coverage of Jackson (a JSON processor for Java) and Oracle's own Java API for JSON processing (JSON-P), which is a JSON processing API for Java EE that also can be used with Java SE. This new edition of Java XML and JSON also expands coverage of DOM and XSLT to include additional API content and useful examples.

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.


Jeff Friesen is a freelance teacher and software developer with an emphasis on Java. In addition to authoring Java I/O, NIO, and NIO.2 (Apress), Java Threads and the Concurrency Utilities (Apress), and the first edition of this book, Jeff has written numerous articles on Java and other technologies (such as Android) for JavaWorld, informIT, Java.net, SitePoint, and other web sites. Jeff can be contacted via his web site at JavaJeff.ca or via LinkedIn (JavaJeff).

Use this guide to master the XML metalanguage and JSON data format along with significant Java APIs for parsing and creating XML and JSON documents from the Java language. New in this edition is coverage of Jackson (a JSON processor for Java) and Oracle's own Java API for JSON processing (JSON-P), which is a JSON processing API for Java EE that also can be used with Java SE. This new edition of Java XML and JSON also expands coverage of DOM and XSLT to include additional API content and useful examples.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 LearnMaster the XML languageCreate, validate, parse, and transform XML documentsApply Java's SAX, DOM, StAX, XPath, and XSLT APIsMaster the JSON format for serializing and transmitting dataCode against third-party APIs such as Jackson, mJson, Gson, JsonPathMaster Oracle's JSON-P API in a Java SE contextWho This Book Is ForIntermediate 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.

Jeff Friesen is a freelance teacher and software developer with an emphasis on Java. In addition to authoring Java I/O, NIO, and NIO.2 (Apress), Java Threads and the Concurrency Utilities (Apress), and the first edition of this book, Jeff has written numerous articles on Java and other technologies (such as Android) for JavaWorld, informIT, Java.net, SitePoint, and other web sites. Jeff can be contacted via his web site at JavaJeff.ca or via LinkedIn (JavaJeff).

Part 1: Exploring XMLChapter  1: Introducing XMLChapter  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 XSLTPart 2: Exploring JSONChapter  7: Introducing JSONChapter  8: Parsing and Creating JSON Objects with mJson Chapter  9: Parsing and Creating JSON Objects with Gson Chapter 10: Extracting JSON Values with JsonPathChapter 11: Processing JSON with JacksonChapter 12: Processing JSON with JSON-PPart 3: AppendixesChapter 13: Appendix A: Answers to Exercises

Erscheint lt. Verlag 10.1.2019
Zusatzinfo XVIII, 528 p. 11 illus.
Verlagsort Berkeley
Sprache englisch
Themenwelt Informatik Programmiersprachen / -werkzeuge Java
Informatik Programmiersprachen / -werkzeuge XML
Informatik Software Entwicklung UML
Schlagworte Dom • Gson • Jackson • Java • JSON • JSON-P • JsonPath • mJson • SAX • StAX • XML • XSLT
ISBN-10 1-4842-4330-7 / 1484243307
ISBN-13 978-1-4842-4330-5 / 9781484243305
Haben Sie eine Frage zum Produkt?
Wie bewerten Sie den Artikel?
Bitte geben Sie Ihre Bewertung ein:
Bitte geben Sie Daten ein:
PDFPDF (Wasserzeichen)
Größe: 4,9 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Einführung, Ausbildung, Praxis

von Christian Ullenboom

eBook Download (2023)
Rheinwerk Computing (Verlag)
49,90