Package org.spincast.core.json
Interface ToJsonObjectConvertible
- All Known Subinterfaces:
ValidationMessage
- All Known Implementing Classes:
ValidationMessageDefault
public interface ToJsonObjectConvertible
An object implementing this interface is able to
convert itself to a
JsonObject
.
This is useful when full control over the conversion process is required.
-
Method Summary
Modifier and TypeMethodDescriptionConverts the object to aJsonObject
.
-
Method Details
-
convertToJsonObject
JsonObject convertToJsonObject()Converts the object to aJsonObject
.
-