SHARE
TWEET

Untitled

a guest Jun 17th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. JsonParser parser = new JsonParser();  
  2. parser.parse(new String(Files.readAllBytes(Paths.get((filePath.toString())))));
  3.      
  4. "file":"hello.htm"},]
  5.      
  6. ObjectMapper mapper = new ObjectMapper();
  7. mapper.readTree(Files.readAllBytes(Paths.get(filePath.toString())));
  8.      
  9. for (i in 0 until jsonArray.length()) {
  10.     if (!jsonArray.isNull(i)) {
  11.         // parse here...
  12.     }
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top