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,
boolean useExternalRef)
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, boolean useExternalRef)
ValueConverterProvider
affects the output of the writer by the provided converters which produce
the JSON output.provider
- the provider of the value convertersuseExternalRef
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.