O'Reilly logo

Reactive Android Programming by Tadas Subonis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Transforming JSON value objects

It's quite easy to note that this current JSON-like tree of objects will be unwieldy to work with, and we need something more manageable and robust.

A common practice is to use an Adapter pattern or so called anti-corruption layer to translate objects of remote systems into our domain.

We will use this practice, and we will convert Yahoo JSON objects into our StockUpdate object that we use already.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required