Subscribe to the MPC blog rss feed feed-icon-14x14
 

My GitHub Repositories

I do not currently have any GitHub repositories.

Creating Domain Specific Objects From JSON In Android



Posted on 04:57PM on 02/14/2009
Tags: Android, Complainatron

In my last post, I discussed issuing a GET request to a web API, downloading and converting the response to a string and creating JSONObjects from it. The next step is to create your domain specific objects from the JSON.

Here's an example:

The process is pretty simple. Loop over the JSONObjects and build up you domain specific objects. Then they can be freely used within your Android app.

0 Comments (Show) (Comments are closed for this post)

 
Please note that I am currently unavailable for any large, long term work.