You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Jasper Simon (Jira)" <ji...@apache.org> on 2020/10/05 08:24:00 UTC

[jira] [Created] (SLING-9793) Jackson exporter alphabetical sorting

Jasper Simon created SLING-9793:
-----------------------------------

             Summary: 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


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.3.4#803005)