Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2013

    is GSON best for processing places api response?

    I will be making calls from J2EE environment to places rest api. Is GSON the best option for converting the response into Java objects? Does it support everything that is returned from the places API? Also looking at maybe using Jersey for the rest client? What is best option from Java/J2EE environment for interacting with places api? Thanks

    191 Views and no thoughts on this?
    Last edited by fromplacetoplace; 2013-03-11 at 21:33.

  2. #2
    Nokia Developer Expert
    Join Date
    Apr 2012
    Berlin, Germany

    Re: is GSON best for processing places api response?


    I don’t know too much about GSON.

    You have to be prepared for new fields that might appear in the response, you need to make sure your client won’t break then. You could either ignore additional fields or in case of extended attributes -- which will always follow the pattern of having a localised label and a text field with the content -- render them by just displaying label and text.

    Daniel Moor
    Nokia Places API

Similar Threads

  1. Nokia Places API FAQ
    By Nokia Ron in forum [Archived] Places API
    Replies: 1
    Last Post: 2013-04-25, 13:06
  2. Places API Serversided
    By Wiamor in forum [Archived] Places API
    Replies: 7
    Last Post: 2012-11-09, 10:12
  3. Nokia Places API for Qt
    By vladest in forum Qt
    Replies: 4
    Last Post: 2012-09-08, 01:34
  4. Include timezone in places API response
    By amnesia7 in forum [Archived] Maps API for Javascript
    Replies: 3
    Last Post: 2012-08-15, 08:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts