How to read json files with Java 8


I am attempting to read json files with Java 8.

I keep getting the following error when compiling java 8 with the following:

import org.json.simple.JSONArray;

I installed the json simple package, but it does not correct the problem.

Documentation has suggested using a maven interface to help handle this.

Any advice or sample code would be much appreciated.


Error message: error: package org.json.simple does not exist


first please validate your JSON data. these tools can help.