Update json-functions.md

This commit is contained in:
Denny Crane 2024-11-21 10:03:38 -04:00 committed by GitHub
parent 1cc687f3b1
commit c8c443f127
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -468,7 +468,7 @@ SELECT JSONLength('{"a": "hello", "b": [-100, 200.0, 300]}') = 2
### JSONType
Return the type of a JSON value. If the value does not exist, `Null` will be returned.
Return the type of a JSON value. If the value does not exist, `Null` will be returned (not usual [Null](../data-types/nullable.md), but a special Null=0 of `Enum8('Null' = 0, 'String' = 34,...`). .
**Syntax**
@ -488,7 +488,7 @@ JSONType(json [, indices_or_keys]...)
**Returned value**
- Returns the type of a JSON value as a string, otherwise if the value doesn't exists it returns `Null`. [Enum](../data-types/enum.md).
- Returns the type of a JSON value as a string, otherwise if the value doesn't exists it returns `Null=0`. [Enum](../data-types/enum.md).
**Examples**