serialize

open override fun serialize(src: HudComponent, typeOfSrc: Type, context: JsonSerializationContext): JsonObject