mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Update json-functions.md
This commit is contained in:
parent
1cc687f3b1
commit
c8c443f127
@ -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**
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user