Apache Sling Content Parser for JSON

Clone this repo:
  1. dcfc445 SLING-10676 - remove SECURITY.md which is not needed by Bertrand Delacretaz · 5 days ago master
  2. 19c0d89 SLING-10676 - add or update SECURITY.md by Bertrand Delacretaz · 7 days ago
  3. da0c441 SLING-10676 - add or update SECURITY.md by Bertrand Delacretaz · 7 days ago
  4. 05f79f8 Adding sonarqube badges as per SLING-9682 by Dan Klco · 11 months ago
  5. 5868b7f Updating badges for org-apache-sling-contentparser-json by Radu Cotescu · 11 months ago

Apache Sling

Build Status Test Status Coverage Sonarcloud Status JavaDoc Maven Central contentparser License

Apache Sling Content Parser for JSON

This module is part of the Apache Sling project.

The Apache Sling Content Parser for JSON provides support for parsing JSON files into Apache Sling resource trees, by implementing the API provided by the org.apache.sling.contentparser.api bundle.

To obtain a reference to the JSON content parser just filter on the ContentParser.SERVICE_PROPERTY_CONTENT_TYPE service registration property:

    @Reference(target = "(" + ContentParser.SERVICE_PROPERTY_CONTENT_TYPE + "=json)")
    private ContentParser jsonParser;