[
https://issues.apache.org/jira/browse/SLING-9793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seifert resolved SLING-9793.
-----------------------------------
Fix Version/s: Sling Models Jackson Exporter 1.1.0
Resolution: Fixed
merged with
https://github.com/apache/sling-org-apache-sling-models-jacksonexporter/commit/3a3965d9b751d2f6ca33cbaac635eb490d3fe23b
[~jaspersimon] thanks for the contribution!
> Jackson exporter alphabetical sorting
> -------------------------------------
>
> Key: SLING-9793
> URL: https://issues.apache.org/jira/browse/SLING-9793
> Project: Sling
> Issue Type: Improvement
> Components: Sling Models
> Reporter: Jasper Simon
> Assignee: Stefan Seifert
> Priority: Major
> Fix For: Sling Models Jackson Exporter 1.1.0
>
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> It would be nice to have JSON properties sorted alphabetically by default
> when using the jackson exporter.
> If that is not possible, an OSGi configuration for the jackson exporter where
> you can define the default behaviour of the jackson exporter for your
> project.(org.apache.sling.models.jacksonexporter.impl.JacksonExporter)
> Now we need to add the sorting option for every exported class, while it
> would be beneficial to have this configured project-wide.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)