Skip to main content

Mad Mirrajabi

JSON Data Mocking for OkHttp

In every client project that is connected to a remote REST server, the process of preparing and testing requests/responses may take a lot of time.

This simple library helps you mock your data for use with OkHttp + Retrofit in JSON format in just a few moves. It routes the requests to local JSON files and returns the data stored in them.

You can find the library and all the instructions in my GitHub repository: OkhttpJsonMock.