Apache Sling Content Parser for JSON

Clone this repo:
  1. 05f79f8 Adding sonarqube badges as per SLING-9682 by Dan Klco · 3 months ago master
  2. 5868b7f Updating badges for org-apache-sling-contentparser-json by Radu Cotescu · 3 months ago
  3. f634a80 Updating badges for org-apache-sling-contentparser-json by Radu Cotescu · 1 year, 4 months ago
  4. 311e5e8 [maven-release-plugin] prepare for next development iteration by Radu Cotescu · 1 year, 4 months ago
  5. a9b895a [maven-release-plugin] prepare release org.apache.sling.contentparser.json-2.0.0 by Radu Cotescu · 1 year, 4 months ago org.apache.sling.contentparser.json-2.0.0

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;