toJsonValue

Returns the objects represented as a JsonValue.

Return

The object as a JsonValue.