[
https://issues.apache.org/jira/browse/POLYGENE-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15923256#comment-15923256
]
Niclas Hedhman commented on POLYGENE-231:
-----------------------------------------
I have had a look at the important bits and it looks reasonable.
What about ValueSerialization Type Lookup is wrong. (POLYGENE-105) ?
I think that in
org.apache.polygene.serialization.javaxjson.JavaxJsonDeserializer around line
96-100
if( adapter != null )
{
return (T) adapter.deserialize( json, ( jsonValue, type ) ->
doDeserialize( module, type, jsonValue ) );
}
we need to determine if it is a "ValueComposite", and if so, then we need to
dig up its Module, and pass that module instead of the top level module that is
done now, and after the deserialization, set back to the old module.
> Serialization 3.0
> -----------------
>
> Key: POLYGENE-231
> URL: https://issues.apache.org/jira/browse/POLYGENE-231
> Project: Polygene
> Issue Type: Improvement
> Reporter: Paul Merlin
> Assignee: Paul Merlin
> Fix For: 3.0
>
>
> Revamp the serialization SPI to fix outstanding issues, add missing features
> and remove {{org.json}}.
> Implementation is in progress in the {{serialization-3.0}} branch.
> Github pull-request to browse the changes and comment:
> https://github.com/apache/polygene-java/pull/5
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)