Package org.hippoecm.hst.util
Interface JsonSerializer
-
public interface JsonSerializer
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
JsonSerializer.JsonSerializationException
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
toJson(Object value)
-
-
-
Method Detail
-
toJson
String toJson(Object value)
- Parameters:
value
- the object to write as json- Returns:
- the json representation of
value
- Throws:
JsonSerializer.JsonSerializationException
- in case thevalue
object cannot be serialized to json
-
-