long start = System.nanoTime();
ObjectMapper om = new ObjectMapper();
JsonNode jn = om.readTree(content.toString());
JsonNode jsonData = om.readTree(data);
List<PartsLexer.Part> parts = new ArrayList<PartsLexer.Part>();
PartsLexer pl = new PartsLexer();
parts.add(pl.parse(".resources", 1));
parts.add(pl.parse(".about", 2));
parts.add(pl.parse(".methods", 3));
parts.add(pl.parse(".get", 4));
parts.add(pl.parse(".scopes[4]", 5));
PartsParser pp = new PartsParser(parts);
JsonNode res = JsonTree.write(jn, pp,jsonData.get("data"));
long end = System.nanoTime();
double seconds = (double)(end-start) / 1000000000.0;
assertTrue(seconds < 1.0);