Extra 4 exercise: JSON

  1. Get general info about JSON
  2. Look for more information about popular JSON implementation in Java
  3. Look at some examples how to use this library
  4. Add following dependency in <dependencies> element of pom.xml file:

    <!-- JSON -->
    <dependency>
    <groupId>org.json</groupId>
    <artifactId>json</artifactId>
    <version>20180813</version>
    </dependency>
  5. Regenerate project files for eclipse with command in your project:

    mvn eclipse:eclipse

    and refresh project in Eclipse

  6. Investigate jtm.extra04 package
  7. Implement classes Car and JsonCars  to pass unit tests.

Tags:
Created by Valdis Vītoliņš on 2019-03-27 16:23
Last modified by Valdis Vītoliņš on 2019-03-27 16:38
 
Xwiki Powered
Creative Commons Attribution 3.0 Unported License