Exception which can be thrown while JSON writing if it contains unsupported fields.
Internal function, use toJson or toJsonRepresentation instead.
Writes value of subtype of T to JSON string.
Maps value of subtype of T to Json.