daily pastebin goal
45%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. JsonObject object = Json.createObjectBuilder().build();
  2.     JsonArray array = Json.createArrayBuilder().build();
  3.  
  4.  
  5.     JsonArray tweets = getTweets();
  6.  
  7.     for (JsonValue tweet : tweets) {
  8.         object = (JsonObject) tweet;
  9.      array.add(object);
  10.     }
  11.     return array;
  12.    
  13. java.lang.UnsupportedOperationException
RAW Paste Data
Top