Package software.amazon.jsii
Interface JsiiSerializable
- All Known Implementing Classes:
JsiiObject
Marks a class as serializable from native to javascript.
JsiiObject implements this as well as all generated jsii interfaces.
The actual metadata needed for serialization is defined by the @Jsii annotations attached to these
types, but Jackson doesn't support selecting serializers by annotations, so we needed a type as a marker.
See JsiiObjectMapper for details.-
Method Summary
Modifier and TypeMethodDescriptiondefault com.fasterxml.jackson.core.TreeNodeSerializes this object to JSON.
-
Method Details
-
$jsii$toJson
Serializes this object to JSON. The default behavior is to return an object reference. However, builders implement this method by emitting an actual JSON object of the key/values.- Returns:
- the jsii/JSON representation of this object
-