[ https://issues.apache.org/jira/browse/FELIX-5332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15435109#comment-15435109 ]
David Leangen commented on FELIX-5332: -------------------------------------- Hmmm. Maybe I should not have acted so quickly. I am finding that this is more difficult than I'd thought because of generic types. If there is a generic type nested deep in the structure, it gets deserialised as a Map, which causes a ClassCastException in the client code. This leads me to believe that the _metadata information may be necessary for all generic types. I'll experiment a bit more. > Serializer > ---------- > > Key: FELIX-5332 > URL: https://issues.apache.org/jira/browse/FELIX-5332 > Project: Felix > Issue Type: New Feature > Components: Converter > Reporter: David Leangen > Attachments: diff-serializer.txt > > > Test case and a bit of code to show how a Serializer could work. > To work as a Serializer, the type information needs to be embedded into the > output. -- This message was sent by Atlassian JIRA (v6.3.4#6332)