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

Marius Petria commented on SLING-5815:
--------------------------------------

Another thought on the mapper idea. Mapping can happen for two things: paths 
and properties. The thing is that path mapping might be more difficult to 
support as the serialization format might be hierarchical and mapping to 
another tree might break the format. What I am trying to say is that we could 
split the mapper in two classes: a {{PathMapper}} and a {{PropertiesMapper}} so 
that a serializer that does not support path mapping can throw an exception 
quickly.

> Expose DistributionContentSerializer 
> -------------------------------------
>
>                 Key: SLING-5815
>                 URL: https://issues.apache.org/jira/browse/SLING-5815
>             Project: Sling
>          Issue Type: Improvement
>          Components: Distribution
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>             Fix For: Content Distribution 0.2.0
>
>         Attachments: SLING-5815.0.patch
>
>
> Expose {{DistributionContentSerializer}} API from 
> _org.apache.sling.distribution.core_ in order to allow implementation of 
> custom serialization formats (e.g. Avro and Kryo defined in 
> _org.apache.sling.distribution.extensions_).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to