Wermescher Advisory Logo

Google Gson in a nutshell

JsonObject vs JsonArray Create a JsonObject Create a JsonArray Iterate / Loop through all JsonObjects inside a JsonObject Iterate / Loop through all JsonElements inside a JsonArray Parse String into JsonObject Add a list of strings Parse from json file Get info from object Print out json Compact print Pretty print