Apache Sling Content Parser for JSON

Clone this repo:
  1. f634a80 Updating badges for org-apache-sling-contentparser-json by Radu Cotescu · 4 months ago master
  2. 311e5e8 [maven-release-plugin] prepare for next development iteration by Radu Cotescu · 5 months ago
  3. a9b895a [maven-release-plugin] prepare release org.apache.sling.contentparser.json-2.0.0 by Radu Cotescu · 5 months ago org.apache.sling.contentparser.json-2.0.0
  4. ca5ec09 SLING-8570 - Extract a generic Content Parser API from org.apache.sling.jcr.contentparser with pluggable implementations by Radu Cotescu · 5 months ago
  5. c31eca0 Updating badges for org-apache-sling-contentparser-json by Radu Cotescu · 5 months ago

Build Status Test Status Maven Central JavaDocs License contentparser

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;