Passing JSON data to the view of the phone