serialize
open override fun serialize(src: Profile, typeOfSrc: Type, context: JsonSerializationContext): JsonElement
Serializes Profile to JsonElement
Since
0.2.0
Return
The serialized Profile
Parameters
src
The Profile to serialize to a JsonElement
type Of Src
The type of src (Profile)
context
The json serialization context
Throws
Json Syntax Exception
If the profile isn't resolved