Class JsonWriter
- java.lang.Object
-
- com.github.egoettelmann.annotationprocessor.spring.value.writer.JsonWriter
-
public class JsonWriter extends Object
-
-
Constructor Summary
Constructors Constructor Description JsonWriter(Writer writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(String key, String value)voidwrite(List<ValueAnnotationMetadata> metadataList)Naive JSON writer to prevent using any external dependency.
-
-
-
Constructor Detail
-
JsonWriter
public JsonWriter(Writer writer)
-
-
Method Detail
-
write
public void write(List<ValueAnnotationMetadata> metadataList)
Naive JSON writer to prevent using any external dependency.- Parameters:
metadataList- the list of metadata
-
write
public void write(String key, String value) throws IOException
- Throws:
IOException
-
-