Class JsonWriter
java.lang.Object
com.github.egoettelmann.spring.configuration.extensions.annotationprocessor.value.writer.JsonWriter
Utility class to write JSON.
This class is mainly used to prevent relying on any external dependency.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(List<ValueAnnotationMetadata> metadataList) Naive JSON writer to prevent using any external dependency.
-
Constructor Details
-
JsonWriter
Instantiates the writer.- Parameters:
writer- the writer to write the output to
-
-
Method Details
-
write
Naive JSON writer to prevent using any external dependency.- Parameters:
metadataList- the list of metadata
-