From c8c443f127655eaf93e1866087975b7018ef6f81 Mon Sep 17 00:00:00 2001 From: Denny Crane Date: Thu, 21 Nov 2024 10:03:38 -0400 Subject: [PATCH] Update json-functions.md --- docs/en/sql-reference/functions/json-functions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/sql-reference/functions/json-functions.md b/docs/en/sql-reference/functions/json-functions.md index b554c707561..a92c26461e9 100644 --- a/docs/en/sql-reference/functions/json-functions.md +++ b/docs/en/sql-reference/functions/json-functions.md @@ -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**