public class JsonWriter extends Object
A writer of the JSON string which writes LSPS objects to JSON format.
This class is not thread-safe!
Constructor and Description |
---|
JsonWriter(ValueConverterProvider provider)
Creates a new JSON writer.
|
Modifier and Type | Method and Description |
---|---|
String |
writeJson(Object object)
Creates a JSON representation of the LSPS object.
|
public JsonWriter(ValueConverterProvider provider)
ValueConverterProvider
affects the output of the writer by the provided converters which produce
the JSON output.provider
- the provider of the value convertersCopyright © 2007-2018 Whitestein Technologies. All Rights Reserved.