15. XML and JSON
Review presentation
- Investigate jtm.extra04 package
- Implement methods of XMLCars.java class to pass unit tests.
- Review presentation JSON
- Look for more information about popular JSON implementation in Java
- Look at some examples how to use this library
Add following dependency in <dependencies> element of pom.xml file:
<!-- JSON -->
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20180813</version>
</dependency>Regenerate project files for eclipse with command in your project:
mvn eclipse:eclipseand refresh project in Eclipse
- Investigate jtm.extra05 package
- Implement classes Car and JsonCars to pass unit tests.