[
https://issues.apache.org/jira/browse/SLING-7941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16630303#comment-16630303
]
ASF GitHub Bot commented on SLING-7941:
---------------------------------------
bosschaert commented on issue #4: SLING-7941 - Use streaming APIs to marshall
the Feature to JSON
URL:
https://github.com/apache/sling-org-apache-sling-feature-io/pull/4#issuecomment-425071605
Thanks @simonetripodi I rebased and squashed your commits to make it easier
to see the changes. They are merged in 5cbeccd7df4b4ae218eeb1fd445c1509c621f4b7
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Use streaming APIs to serialize a Feature to the related JSON representation
> ----------------------------------------------------------------------------
>
> 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 serializing a
> {{Feature}} to the related JSON representation.
> Pull request is coming, tests keep working as before.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)