Class ConfigurationJSONWriter

java.lang.Object
org.apache.sling.feature.io.json.ConfigurationJSONWriter

public class ConfigurationJSONWriter extends Object
JSON writer for configurations
  • Constructor Details

    • ConfigurationJSONWriter

      public ConfigurationJSONWriter()
  • Method Details

    • write

      public static void write(Writer writer, Configurations configs) throws IOException
      Writes the configurations to the writer. The writer is not closed.
      Parameters:
      writer - Writer
      configs - List of configurations
      Throws:
      IOException - If writing fails