Returns type code for the primitive. The type code can be any value from the JSONPrimitive.NodeTypeEnum.
JSONPrimitive Class