setType
Set type of the JSON object.
A default value (empty string, zero or false) is set when the type is changed.
Parameters
type
The new type for the JSON object.
Throws
Invalid type.
Set type of the JSON object.
A default value (empty string, zero or false) is set when the type is changed.
The new type for the JSON object.
Invalid type.