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
@NullMarked
public interface JsonSerializable
Represents an object that can be serialized into a json element.
-
Method Summary
-
Method Details
-
toJson
com.google.gson.JsonElement toJson()Jsonify this object.- Returns:
- object as json element
-