]> git.ipfire.org Git - thirdparty/sqlite.git/commit
New json_nextract() function that works like json_extract() except that it
authordrh <>
Fri, 7 Jan 2022 17:08:48 +0000 (17:08 +0000)
committerdrh <>
Fri, 7 Jan 2022 17:08:48 +0000 (17:08 +0000)
commit338b1fde623427ee8bbdc7921cff8d8714518fda
tree2ab5525acdfa58bc7560f8291eb36e139ef76cd2
parenta4e4e18494f745b50f69e87de1275bbed5dd75e4
New json_nextract() function that works like json_extract() except that it
returns NULL instead of raising an error if the first argument is not
well-formed JSON.  Or if the first argument is not well-formed JSON and
the second argument is '$', then return the first argument quoted.  The
"->" and "->>" operators are converted to use json_nextract().

FossilOrigin-Name: dc00f5286d26524b149de071490320afaa203fec5777b3eb813f07963614861a
ext/misc/json1.c
manifest
manifest.uuid
test/json102.test