Package net.pl3x.map.core.markers
Interface JsonSerializable
- All Known Implementing Classes:
Circle
,CustomLayer
,Ellipse
,Fill
,Icon
,Layer
,Marker
,MultiPolygon
,MultiPolyline
,Option
,Options
,PlayersLayer
,Point
,Polygon
,Polyline
,Popup
,Rectangle
,SimpleLayer
,SpawnLayer
,Stroke
,Tooltip
,Vector
,WorldBorderLayer
,WorldLayer
public interface JsonSerializable
Represents an object that can be serialized into a json element.
-
Method Summary
Modifier and TypeMethodDescription@NotNull com.google.gson.JsonElement
toJson()
Jsonify this object.
-
Method Details
-
toJson
@NotNull @NotNull com.google.gson.JsonElement toJson()Jsonify this object.- Returns:
- object as json element
-