Skip to content

Instantly share code, notes, and snippets.

@edujtm
Last active February 26, 2019 01:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edujtm/2e8bcfcc8d7de0fb3477113b8138a7bc to your computer and use it in GitHub Desktop.
Save edujtm/2e8bcfcc8d7de0fb3477113b8138a7bc to your computer and use it in GitHub Desktop.
A sample bulbasaur json from the pokeapi that I'm trying to parse using Gson
{
"id": 1,
"species": {
"name": "bulbasaur",
"someUrl": "https://pokeapi.co/api/v2/pokemon-species/bulbasaur/",
},
"height": 7,
"stats": [
{
"power": 10,
"someUrl": "https://pokeapi.co/api/v2/power/",
},
{
"agility": 5,
"someUrl": "https://pokeapi.co/api/v2/agility/"
},
/* other objects */
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment