[ 
http://team.ops4j.org/browse/QI-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18430#comment-18430
 ] 

Paul Merlin commented on QI-318:
--------------------------------

Gang,

I wonder about this issue (QI-318 - JSON serialization extension point).

What do we need? Values and Entities are Composites that can be serialized.

I see two directions we can take from there:

- a generic State Serialization extension SPI ;
- a simple event based JSON I/O SPI?

Both options would mean having a new serialization API, that's why I raise your 
attention now, before we push 2.0 final.
Both options would lead to removing the included, modified and not relocated 
org.json package and that would be a Good Thing.

Anyway, this means breaking changes in the API. We could keep this change for 
2.1 but we would have to mark the current org.qi4j.json package as Deprecated 
and subject to change before pushing 2.0 final.

With first option we could get json, xml, yaml support among many others. We 
could even think about having different serialization formats for EntityStores, 
values transport on the wire etc...
With second option we can enforce high performance event based JSON streaming 
and tie us to it.

What do you think?

/Paul

                
> JSON serialization extension point
> ----------------------------------
>
>                 Key: QI-318
>                 URL: http://team.ops4j.org/browse/QI-318
>             Project: Qi4j
>          Issue Type: New Feature
>          Components: API, Core Runtime
>    Affects Versions: 1.2
>            Reporter: Niclas Hedhman
>             Fix For: 2.1 - Simply Productive!
>
>
> Allow for external JSON serialization system, such as Jackson, to be plugged 
> in as replacement for the built-in one.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://team.ops4j.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to