[ 
https://issues.apache.org/jira/browse/SHINDIG-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cassie Doll closed SHINDIG-202.
-------------------------------

    Resolution: Fixed
      Assignee: Cassie Doll

> AbstractGadgetData.toJson does not serialize all fields in object hierarchy
> ---------------------------------------------------------------------------
>
>                 Key: SHINDIG-202
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-202
>             Project: Shindig
>          Issue Type: Bug
>          Components: Gadget Rendering Server (Java)
>            Reporter: Erin Hoffmann
>            Assignee: Cassie Doll
>
> When extending org.apache.shindig.social.opensocial.Person to add custom 
> fields, the JSON serialization layer doesn't behave as expected.  When toJson 
> is invoked, only the fields in the most-derived class are serialized (all the 
> private fields in Person are ignored).  This appears to be because of the 
> reflection-based serialization to JSON -- the private fields in the Person 
> class are unavailable to the serializer.
> This is a problem for containers trying to specialize the Person class 
> without modifying Shindig itself.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to