Checks if a value is a JSON scalar.
The value to check
True if the value is a boolean, a finite number, or a string; false otherwise
Scalar
Checks if a value is a JSON scalar.