Let's look at an example. From the perspective of a client (here, an Android app) the architectural picture could look as shown in the following figure. From some endpoint, the API is being consumed. This will result in receiving data that will be handled by the Retrofit client (HTTP client for Android) in this example. It consumes data in the JavaScript Object Notation (JSON) format and eventually changes this data into objects using a JSON converter, such as Gson library, a library capable of doing object mapping on JSON data. Often an SDK is available from the party offering the service, which will make it faster and easier to consume data from the endpoint or to send data to it. The Parser Server SDKs, for ...
Seen from a client perspective
Get Lean Mobile App Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.