Package org.apache.sling.feature.io.json
Class ConfigurationJSONReader
java.lang.Object
org.apache.sling.feature.io.json.ConfigurationJSONReader
JSON Reader for configurations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Configurations
Read a map of configurations from the reader The reader is not closed.
-
Constructor Details
-
ConfigurationJSONReader
public ConfigurationJSONReader()
-
-
Method Details
-
read
Read a map of configurations from the reader The reader is not closed. It is up to the caller to close the reader.- Parameters:
reader
- The reader for the configurationlocation
- Optional location- Returns:
- The read configurations
- Throws:
IOException
- If an IO errors occurs or the JSON is invalid.
-