On Mon, Dec 2, 2013 at 2:19 PM, Shaun <[email protected]> wrote:

> Any reason why endpoints can return complex Java objects, but not object
> primitives? Is this a bug? Thanks!
>


The Endpoints service wraps content in JSON during data transfer. JSON does
not support object primitives at the top level currently; top level items
can only be hashtables, arrays, or an object serialized to those
representations.

See the JSON standard for more details: http://www.json.org


On Mon, Dec 2, 2013 at 2:19 PM, Shaun <[email protected]> wrote:

> Is this a bug?
>


You can file an issue in the bug tracker if you feel this is a bug.

 -----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to