serialize

open override fun serialize(src: Location, typeOfSrc: Type, context: JsonSerializationContext): JsonElement

Serializes Location to JsonElement

Since

0.2.0

Return

The serialized Location

Parameters

src

The Location to serialize to a JsonElement

typeOfSrc

The type of src (Location)

context

The json serialization context