Interface JsonConvertible
public interface JsonConvertible
An interface for classes that can be converted into valid JSON values.
-
Method Summary
Modifier and TypeMethodDescriptionCreates a view of this object as a valid JSON Type.
-
Method Details
-
toJsonValue
Object toJsonValue()Creates a view of this object as a valid JSON Type.- Returns:
- an instance of Map, Collection, String, Number or Boolean or
null
-