[
https://issues.apache.org/jira/browse/SLING-7941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16621964#comment-16621964
]
Simone Tripodi commented on SLING-7941:
---------------------------------------
Same thing could be done when reading a JSON to build the Feature, but it will
require a little more time, I hope I'll find some spare time during the WE :)
/CC [~cziegeler]
> Use streaming APIs to marshall the Feature to JSON
> --------------------------------------------------
>
> Key: SLING-7941
> URL: https://issues.apache.org/jira/browse/SLING-7941
> Project: Sling
> Issue Type: Improvement
> Components: Feature Model
> Affects Versions: Feature Model IO 0.1.4
> Reporter: Simone Tripodi
> Assignee: David Bosschaert
> Priority: Major
>
> We can avoid the unnecessary intermediate JSON objects creation by replacing
> current usage with {{javax.json.JsonGenerator}} APIs, when marshalling a
> {{Feature}} to the related JSON representation.
> Pull request is coming.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)