Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10217

Support multiline string values in cfg.json

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Installer Configuration Factory 1.3.4
    • None
    • Installer
    • None

    Description

      Currently configurations of type .cfg.json only allow the JSON format defined by https://docs.osgi.org/specification/osgi.cmpn/7.0.0/service.configurator.html. For some very long values like scripts property for PID org.apache.sling.jcr.repoinit.RepositoryInitializer this makes the value very hard to read, as JSON does not support values spanning multiple lines.

      It would be nice if some line continuation character would be supported which allows to distribute a String value across multiple lines.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: