use of net.minidev.json.JSONAware in project JsonPath by jayway.
the class IssuesTest method issue_76.
@Test
public void issue_76() throws Exception {
String json = "{\n" + " \"cpus\": -8.88178419700125e-16,\n" + " \"disk\": 0,\n" + " \"mem\": 0\n" + "}";
JSONParser parser = new JSONParser(JSONParser.MODE_PERMISSIVE);
JSONAware jsonModel = (JSONAware) parser.parse(json);
jsonModel.toJSONString();
}
Aggregations