Added Accessor interface to represent methods on JSONObject and JSONArray Added 2 static methods in JSONParser to create navigator from String or reader Added tests for them (at the bottom of method testDecode in Test class)
These methods should be only used when user knows what JSON they will be receiving.
With my change all users of the lib would be able to efficiently navigate through JSON in Builder-like methods. Example (from the Test)
Added Accessor interface to represent methods on JSONObject and JSONArray Added 2 static methods in JSONParser to create navigator from String or reader Added tests for them (at the bottom of method testDecode in Test class)
These methods should be only used when user knows what JSON they will be receiving.