diff options
Diffstat (limited to 'src/test/regress/expected/json.out')
-rw-r--r-- | src/test/regress/expected/json.out | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/regress/expected/json.out b/src/test/regress/expected/json.out index 0ced17e1306..502f9838897 100644 --- a/src/test/regress/expected/json.out +++ b/src/test/regress/expected/json.out @@ -1510,6 +1510,20 @@ INSERT INTO foo VALUES (999999, NULL, 'bar'); SELECT json_object_agg(name, type) FROM foo; ERROR: field name must not be null -- json_object +-- empty object, one dimension +SELECT json_object('{}'); + json_object +------------- + {} +(1 row) + +-- empty object, two dimensions +SELECT json_object('{}', '{}'); + json_object +------------- + {} +(1 row) + -- one dimension SELECT json_object('{a,1,b,2,3,NULL,"d e f","a b c"}'); json_object |