aboutsummaryrefslogtreecommitdiff
path: root/ext/misc/json1.c
Commit message (Collapse)AuthorAge
...
* Change the name of the new function to "json_merge_patch()".drh2017-03-22
| | | FossilOrigin-Name: 53bf70f37bbca319ea35f70849e2a34ae628a504486158fdad5c4bb7431c68e0
* Initial implementation of the json_mergepatch(A,B) SQL function.drh2017-03-22
| | | FossilOrigin-Name: a267444039af519f088dd8f8ee33f686cc3071c087677075af2364ebc2587514
* Fix SQLITEINT_H macro usage in two extensions.drh2017-01-25
| | | FossilOrigin-Name: 0803390c152141c9ab4e7a28406b2a5d72a5c2fa
* Fix OOM error reporting in the json1_group_object() SQL function. Removedrh2016-11-07
| | | | | an unreachable branch from the JSON1 logic. FossilOrigin-Name: b54098491531cd26ed461275ef4aae3d3ec9065e
* Replace some unreachable branches from the JSON1 extension with assert().drh2016-11-07
| | | FossilOrigin-Name: 145cd13e3c5a42a717807bcc13c0f7212f38bff8
* Fix the JSON1 extension so that the JSON validator correctly rejects malformeddrh2016-11-07
| | | | | backslash escapes within string literals. FossilOrigin-Name: 7a63539169a384960e30a63e0c8e9b0f07fa431e
* Fix other harmless compiler warnings.drh2016-08-01
| | | FossilOrigin-Name: 90d2c490fc2ed4e073711b84f989ca4d496dcfb5
* Add the json_quote() function to the JSON1 extension.drh2016-06-17
| | | FossilOrigin-Name: 2c3714aebf5e40e3728877a235b3c1f93defa33e
* Add JSON1 and FTS5 to the set of extensions subject to close compiler warningdrh2016-02-11
| | | | | | analysis. Fix some warnings in each. More (harmless) warnings still exist in FTS5. FossilOrigin-Name: cfe2eb88b504f5e9b1351022036641b1ac4c3e78
* Improvements to the way that OOM errors are processed.drh2016-02-05
| | | FossilOrigin-Name: c3ef03478a5788c855b3aef385d43ae7f494f440
* Escape control characters in JSON.drh2016-02-04
| | | | | Fix for ticket [ad2559db380abf8]. FossilOrigin-Name: 4f1b5229a3bbc9d40b7433a5eb3139d59d31dcb1
* Remove unreachable branches from the new JSON aggregate functions.drh2016-01-01
| | | FossilOrigin-Name: 6e30f8c6c3af9b0df39783888a1479f88271f989
* Add the json_group_array() and json_group_object() aggregate functions todrh2015-12-30
| | | | | the JSON1 extension. FossilOrigin-Name: 7f386a9332237100a345035ca213327e21d95855
* Fix the JSON1 extension so that it does not depend on isdigit() anddrh2015-10-16
| | | | | | strtod() from the standard library when compiled into SQLite as part of the amalgamation. FossilOrigin-Name: bc9a9a60c31ebf9b11ac89ae5f99a3b66d6efc67
* Form-feed is not valid whitespace for json. drh2015-10-16
| | | | | Fix for ticket [57eec374ae1d0a1d] FossilOrigin-Name: 28957d635961c525f735a52b8ffe3e69ccf31382
* Avoid exporting sqlite3_json_init() from amalgamation builds.dan2015-10-14
| | | FossilOrigin-Name: 8463f7e7908d0a96ed036377dfa3805328c62925
* Fix a couple harmless compiler warnings.mistachkin2015-10-12
| | | FossilOrigin-Name: 7f896a971c5953d5370215ecd834d1fb711b4263
* Add some #ifdef-ery to json1.c to avoid a duplicate typedef when used in thedrh2015-10-10
| | | | | amalgamation, since some compilers become upset over duplicate typedefs. FossilOrigin-Name: de28acd42f29693341feb884b7223cd3d2b96730
* The previous fix to JSON1 was not complete. A few more tweaks are neededdrh2015-10-09
| | | | | for correct handling of all oversized integers. FossilOrigin-Name: 4a47f0177851721cdf6c981df962b6e8862372e7
* Fix the JSON1 extension so that it renders integers outside the rangedrh2015-10-09
| | | | | of -9223372036854775808 to +9223372036854775807 as floating-point numbers. FossilOrigin-Name: ae736e35fb59c9aed33a8c805cf2ecdee528051f
* First attempt to add json1 and fts5 to the amalgamation. This check-in doesdrh2015-10-08
| | | | | not compile. FossilOrigin-Name: d820a1bd1b8dd702d1b3a099af393530cc5a5d51
* Enable adding JSON1 by appending the json1.c source file to the amalgamationdrh2015-09-26
| | | | | and compiling with -DSQLITE_ENABLE_JSON1 FossilOrigin-Name: 33404b2029120d4aabe1e25d484871810777e934
* Another (smaller) performance optimization for the JSON parser.drh2015-09-24
| | | FossilOrigin-Name: c43daa8c78df99f62dd4d3c83708a3a8eff92496
* Performance optimizations on the JSON parser.drh2015-09-24
| | | FossilOrigin-Name: 7dd4b07a42eb84589d34430b9d7bfa88fbd743eb
* Do not allow a comma at the end of a JSON array or object.drh2015-09-23
| | | FossilOrigin-Name: 7c7a3f3e9bc2f7a7334d8d6eae183d83f22097be
* Futher simplifications to json1.c. Also an obscure bug-fix in the initialdrh2015-09-22
| | | | | output of json_tree() when using a path to an object contained within an array. FossilOrigin-Name: fcb1e327a64134e5ac539ec3d52733422d3061fd
* Fix json_set() so that it can overwrite a value that was previously overwrittendrh2015-09-22
| | | | | during the same call. FossilOrigin-Name: 0f16041647993975c316203c7e11f06e27640136
* Simplifications to the json1.c logic.drh2015-09-21
| | | FossilOrigin-Name: 1646a2bd85f87d03a14fcaec288107f5f6411c6f
* Fix a memory leak in json1.c that could occur after misuse of json_object().drh2015-09-19
| | | FossilOrigin-Name: 394b81b11f261a9b179a034bc2a2d2dff0765e3b
* Fix an off-by-one error (really off-by-2 in this case) in the bufferdrh2015-09-19
| | | | | resize logic of json1. FossilOrigin-Name: d2a027372a5a6efc0f9b6f605093d865ae1c6788
* Avoid passing (signed char) values directly to isspace(), isalnum() or ↵dan2015-09-17
| | | | | isdigit() in json1.c. Cast the value to (unsigned char) first. FossilOrigin-Name: 6713e35b8a8c997aa2717e86ce6dcd63bb993477
* Fix harmless compiler warnings.mistachkin2015-09-11
| | | FossilOrigin-Name: bfc7b84b766860d2e410702ba7c1166d7328309a
* Take out the goofy '$$' path syntax. Instead, use subtypes to communicate whendrh2015-09-11
| | | | | | a string is JSON. Add the json() function that validates and minifies the JSON and sets the appropriate subtype. FossilOrigin-Name: 8a80d6459e246ec1b38325e1cbd1e862157138b3
* Create separate "path" and "root" columns in the json_each() and json_tree()drh2015-09-10
| | | | | | virtual tables. "Root" is the 2nd parameter and is fixed. "Path" varies as json_tree() walks the hierarchy. FossilOrigin-Name: 127cce3eb96b819005832997e0a082df9fb96f0b
* Fix the json_tree() scan for the case when a path is supplied. Add newdrh2015-09-10
| | | | | json1 test cases. FossilOrigin-Name: 6adc7de76acee6cfb5ff761739e7a8de7b5bf4b2
* Enhance the json_extract() function so that if given multiple PATH argumentsdrh2015-08-29
| | | | | | | it will return a JSON array with all of the answers. Also update comments within the json1 extension to reflect stricter interpretation of JSON and PATH arguments. FossilOrigin-Name: 1da60c3dda4254620052a83c853c2d2b6dd5009f
* Fix the build with -DSQLITE_OMIT_VIRTUALTABLE.drh2015-08-29
| | | FossilOrigin-Name: 752918def7231f7846b3e985c9953a1cc825ab6b
* Do not consider an empty string to be valid JSON. Add some additionaldrh2015-08-29
| | | | | JSON test cases. FossilOrigin-Name: fd19ff029f128f478f69910352a6f8b84262ce1d
* Change the json1.c module so that it throws an error if any of thedrh2015-08-29
| | | | | JSON selector paths are malformed. FossilOrigin-Name: 3aa0855fd463076fc3277f1d9fe00d2f30e6b449
* Back out the json_check() routine. Instead, throw an error if the input todrh2015-08-28
| | | | | a json function (other than json_valid()) is not valid JSON. FossilOrigin-Name: dc9ce7b18cbe23d065317757234ef9fb8792da7a
* Add the json_check() function, which returns its argument if the argumentdrh2015-08-28
| | | | | is well-formed JSON or which throws an error otherwise. FossilOrigin-Name: 64abb65d4df11e5b3bcc4afc8e7c18e907c6080a
* Enhance the json_insert(), json_replace(), and json_set() functions with thedrh2015-08-28
| | | | | | ability to add JSON instead of text if the argument is text and if the PATH begins with '$$' instead of just '$'. FossilOrigin-Name: 44f103d8862abc2d5613bac04dc2ea8e625b1f40
* Improvements to JSON string dequoting.drh2015-08-24
| | | FossilOrigin-Name: 196d66d34d9783622e6f2f79eafea1488fc6f5cf
* Fix corner-case problems in the type and atom columns of json_each() anddrh2015-08-24
| | | | | json_tree(). FossilOrigin-Name: f0aba0e120074430cd7ad93291fcc97b8a25a054
* Fix minor glitches in the json1.c extension, mostly having to do with OOMdrh2015-08-23
| | | | | behavior. FossilOrigin-Name: cc5204149c4053b9e529a72102d8df0925ad1ea1
* Fixes to json_each() and json_tree(). Improved json_parse() debugging output.drh2015-08-23
| | | FossilOrigin-Name: fc1b24f316af07a64672f6edc14ebcff487dffbb
* Add the json_valid() function to the json1.c extension. Fix various minordrh2015-08-22
| | | | | problems in the json1.c extension. FossilOrigin-Name: 380a97345b446214843a63ccc017d49a52d884da
* Fix a couple instances of OOM handling in the json extension.drh2015-08-22
| | | FossilOrigin-Name: 213a6c5ccbcfe4495d45e3608e99a6398751aeed
* Fixes for compiler warnings and errors in the makefiles. Rename thedrh2015-08-21
| | | | | one test script to json101.test. FossilOrigin-Name: 9ff6ccde5f26f18073587c320290570854ffc833
* Change the name of the json loadable extension to "json1.c", in anticipationdrh2015-08-21
of having future major changes to the interface. FossilOrigin-Name: d0d4bec9e3d8829a2d488f2742f1650214fa716a