Skip to content

Instantly share code, notes, and snippets.

@jandrop
Created July 18, 2016 09:12
Show Gist options
  • Save jandrop/314806b9e3685dc8ef52a7f31c42b7a4 to your computer and use it in GitHub Desktop.
Save jandrop/314806b9e3685dc8ef52a7f31c42b7a4 to your computer and use it in GitHub Desktop.
JsonObject json = (JsonObject)parser.parse(new Gson().toJson(myPojo));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment