[ 
https://issues.apache.org/jira/browse/SLING-7941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16630197#comment-16630197
 ] 

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-425048243
 
 
   Hi @simonetripodi yes, a change was made to limit includes to a single one. 
So `Feature#getInclude()` should be the right one.

----------------------------------------------------------------
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:
us...@infra.apache.org


> 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)

Reply via email to