All snippets tagged with json

Page 1 of 1
 

Using local JSON files as an API placeholder with Retrofit

With this snippet you can easily and quickly mock an API during developmentby placing JSON files in your res/raw/ folder. This comes in handy when the actual API does not exist yet.

Read more…

Handling JSON