1170fb52e1
a JSON5 object. FossilOrigin-Name: f56528d413d8e622f7c4f18b2f9f2e620bfb441c020461299b35a90072ee6c13
26 lines
748 B
Plaintext
26 lines
748 B
Plaintext
# 2023-04-28
|
|
#
|
|
# The author disclaims copyright to this source code. In place of
|
|
# a legal notice, here is a blessing:
|
|
#
|
|
# May you do good and not evil.
|
|
# May you find forgiveness for yourself and forgive others.
|
|
# May you share freely, never taking more than you give.
|
|
#
|
|
#***********************************************************************
|
|
# This file implements tests for the JSON5 enhancements to the
|
|
# JSON SQL functions extension to the SQLite library.
|
|
#
|
|
|
|
set testdir [file dirname $argv0]
|
|
source $testdir/tester.tcl
|
|
set testprefix json502
|
|
|
|
do_execsql_test 1.1 {
|
|
CREATE TABLE t1(x JSON);
|
|
INSERT INTO t1(x) VALUES('{a:{b:{c:"hello",},},}');
|
|
SELECT fullkey FROM t1, json_tree(x);
|
|
} {{$} {$.a} {$.a.b} {$.a.b.c}}
|
|
|
|
finish_test
|