0

Java XML and JSON

eBook - Document Processing for Java SE

Erschienen am 10.01.2019, 2. Auflage 2019
93,95 €
(inkl. MwSt.)

Download

E-Book Download
Bibliografische Daten
ISBN/EAN: 9781484243305
Sprache: Englisch
Umfang: 4.81 MB
E-Book
Format: PDF
DRM: Digitales Wasserzeichen

Beschreibung

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 Oracles 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 ofJava 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 11s 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 language
Create, validate, parse, and transform XML documents
Apply Javas 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 Oracles 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.

Autorenportrait

Jeff Friesen is a freelance teacher and software developer with an emphasis on Java. In addition to authoringJava 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).

Inhalt

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 13Appendix A: Answers to Exercises.

Informationen zu E-Books

„E-Book“ steht für digitales Buch. Um diese Art von Büchern lesen zu können wird entweder eine spezielle Software für Computer, Tablets und Smartphones oder ein E-Book Reader benötigt. Da viele verschiedene Formate (Dateien) für E-Books existieren, gilt es dabei, einiges zu beachten.
Von uns werden digitale Bücher in drei Formaten ausgeliefert. Die Formate sind EPUB mit DRM (Digital Rights Management), EPUB ohne DRM und PDF. Bei den Formaten PDF und EPUB ohne DRM müssen Sie lediglich prüfen, ob Ihr E-Book Reader kompatibel ist. Wenn ein Format mit DRM genutzt wird, besteht zusätzlich die Notwendigkeit, dass Sie einen kostenlosen Adobe® Digital Editions Account besitzen. Wenn Sie ein E-Book, das Adobe® Digital Editions benötigt herunterladen, erhalten Sie eine ASCM-Datei, die zu Digital Editions hinzugefügt und mit Ihrem Account verknüpft werden muss. Einige E-Book Reader (zum Beispiel PocketBook Touch) unterstützen auch das direkte Eingeben der Login-Daten des Adobe Accounts – somit können diese ASCM-Dateien direkt auf das betreffende Gerät kopiert werden.
Da E-Books nur für eine begrenzte Zeit – in der Regel 6 Monate – herunterladbar sind, sollten Sie stets eine Sicherheitskopie auf einem Dauerspeicher (Festplatte, USB-Stick oder CD) vorsehen. Auch ist die Menge der Downloads auf maximal 5 begrenzt.

Weitere Artikel vom Autor "Friesen, Jeff"

Alle Artikel anzeigen