diff options
author | drh <drh@noemail.net> | 2015-08-28 20:07:40 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2015-08-28 20:07:40 +0000 |
commit | f2df7e71d6f0c970874552b67bbba113fc069e22 (patch) | |
tree | 8f95c912e12721ef68617cc465e26772da53d34c /test/json101.test | |
parent | 2798f0b54bf724f4919b1926cea9d1c47a74e01c (diff) | |
download | sqlite-f2df7e71d6f0c970874552b67bbba113fc069e22.tar.gz sqlite-f2df7e71d6f0c970874552b67bbba113fc069e22.zip |
Back out the json_check() routine. Instead, throw an error if the input to
a json function (other than json_valid()) is not valid JSON.
FossilOrigin-Name: dc9ce7b18cbe23d065317757234ef9fb8792da7a
Diffstat (limited to 'test/json101.test')
-rw-r--r-- | test/json101.test | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/json101.test b/test/json101.test index 2b9cafa00..752cd1b17 100644 --- a/test/json101.test +++ b/test/json101.test @@ -63,11 +63,4 @@ do_execsql_test json1-3.4 { SELECT json_type(json_set('{"a":1,"b":2}','$$.b','{"x":3,"y":4}'),'$.b'); } {object} -do_execsql_test json1-4.1 { - SELECT json_check(' [ 1, 2] '); -} {[1,2]} -do_catchsql_test json1-4.2 { - SELECT json_check(' [ 1, 2 '); -} {1 {malformed JSON}} - finish_test |