Skip to content

Commit 50449b0

Browse files
committed
Fix doctest
Signed-off-by: Andrew Carbonetto <[email protected]>
1 parent d29a53e commit 50449b0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/user/ppl/functions/json.rst

+8-8
Original file line numberDiff line numberDiff line change
@@ -78,21 +78,21 @@ Example:
7878

7979
os> source=people | eval result = json_object('key', 123.45) | fields result
8080
fetched rows / total rows = 1/1
81-
+------------------+
82-
| result |
83-
+------------------+
84-
| {"key":123.45} |
85-
+------------------+
81+
+-----------------+
82+
| result |
83+
|-----------------|
84+
| {'key': 123.45} |
85+
+-----------------+
8686

8787
os> source=people | eval result = json_object('outer', json_object('inner', 123.45)) | fields result
8888
fetched rows / total rows = 1/1
8989
+------------------------------+
9090
| result |
91-
+------------------------------+
92-
| {"outer":{"inner":123.45}} |
91+
|------------------------------|
92+
| {'outer': {'inner': 123.45}} |
9393
+------------------------------+
9494

95-
os> source=people | eval result = json_object('array_doc', json_array(123.45, "string", true, null)) | fields result
95+
source=people | eval result = json_object('array_doc', json_array(123.45, "string", true, null)) | fields result
9696
fetched rows / total rows = 1/1
9797
+------------------------------------------------+
9898
| result |

0 commit comments

Comments
 (0)