java.lang.Object
com.github.egoettelmann.spring.configuration.extensions.annotationprocessor.value.writer.JsonWriter

public class JsonWriter extends Object
Utility class to write JSON. This class is mainly used to prevent relying on any external dependency.
  • Constructor Details

    • JsonWriter

      public JsonWriter(Writer writer)
      Instantiates the writer.
      Parameters:
      writer - the writer to write the output to
  • Method Details

    • write

      public void write(List<ValueAnnotationMetadata> metadataList)
      Naive JSON writer to prevent using any external dependency.
      Parameters:
      metadataList - the list of metadata