This repository contains the code from the book for the Appendix, Reading and Wrting XML, JSON, and YAML See the main book page for the list of all chapter specific repositories.
In this repository, all code is in the main branch. There are three packages, one per format:
| Folder Name | Contents |
|---|---|
| org.frb.wiley.realworldjava.json | JSON |
| org.frb.wiley.realworldjava.xml | XML |
| org.frb.wiley.realworldjava.yaml | YAML |
If you want to use an IDE, import the repository as a Maven project so you have the proper dependencies.
If you want to use the command line, cd to the directory for that example and run
mvn verify
XML
JSON
- JSON specification
- Online validator
- JSON schema
- JSON query language and processor
- Gson Javadoc
- JSON.java: (also known as org.json)
- JSON-P
- JSON-B
YAML