aboutsummaryrefslogtreecommitdiff
path: root/test/json101.test
Commit message (Collapse)AuthorAge
* Reduce the maximum depth of nesting in json objects to 1000.dan2023-05-05
| | | FossilOrigin-Name: c7697a0d45bfab20ec09f17ad65e375ddb43af6762278481c13a65c9a784978e
* Improved handling of NULL arguments to json_valid() anddrh2023-05-02
| | | | | json_error_position(). [forum:/forumpost/06c6334412|Forum post 06c6334412]. FossilOrigin-Name: ab78e6946ba8125a83ff155561adf9c8df4d1c09a645fce08c8245ddb08bfa3b
* Omit the json_valid() function. Change the name of json_error() todrh2023-04-30
| | | | | | json_error_position(). Use "NOT json_error_position(X)" as a substitute for "json_valid5(X)". FossilOrigin-Name: 34c4e900a9cc51630eeaf01deef74bf5b18d66e0ab1dc61a2023ac8f837a5197
* Work toward implementing JSON5 whitespace. Untested and incomplete.drh2023-04-26
| | | FossilOrigin-Name: d262c059455ebe0650a45a6c1c04d1baf9609c635df352732dd192426e1bdc39
* Allow trailing commas in objects and arrays of JSON.drh2023-04-24
| | | FossilOrigin-Name: 4031b231c223db598b45dbd192b027a99a9b82a981d43c75f723a3fb06720b82
* Fix json rendering so that it shows positive and negative infinity asdrh2023-03-17
| | | | | 9.0e+999 and -9.0e+999 respectively. FossilOrigin-Name: efce4690a52592c4f5fc7d023eebe771b0e615bb03c0fe203493f853b28e8f85
* Any function call can abort. Take this into account when deciding if a DMLdrh2022-08-30
| | | | | | | statement needs a statement journal. See [forum:/forumpost/9b9e4716c0d7bbd1|forum thread 9b9e4716c0d7bbd1] for more information. FossilOrigin-Name: 5c95ae6c9b93b9bcf698bb1cad93b2da2e28121b35e7c539b1ddc0ef2de33cfe
* Fix the JSON Path parser so that it will accept zero-length object labels.drh2022-04-04
| | | | | [forum/forumpost/c082aeab43|Forum thread c082aeab43]. FossilOrigin-Name: 84fe95d2a5b4d232d657e3b8110027a698a9bcd597f205cc535cfa97bc299f21
* Remove a faulty NEVER(). Fix for dbsqlfuzz ↵drh2022-01-30
| | | | | 4678cf825d27f87c9b8343720121e12cf944b71a FossilOrigin-Name: d4e402458dd4cadb623a30158eb9ff5f24f011240b3b1bc5b1d6ae3c5b855892
* Proper surrogate pair decoding added to JSON functions. See the mailing listdrh2019-11-10
| | | | | | bug report and [https://bugs.python.org/issue38749]. More test cases needed here, but it seems to work so far. FossilOrigin-Name: 51027f08c0478f1bf9d7545d9e268c772c0a5cd5dda4b03d78f16c7d94f2f50d
* Fix a parser bug in the use of parentheses around table-valued functions.drh2018-12-03
| | | FossilOrigin-Name: 58a51123d1a6381cc67d3c64ba3468ec5a92c299ad6fd86de0b843d0ffafb846
* Correct output for the fullkey column of json_each() when the total JSONdrh2018-05-16
| | | | | input is a simple value, not an array or object. FossilOrigin-Name: b45b18850c59f22a163ee482f529f578a8798f96d0e26b5a061d336d480a1540
* Fix the query planner so that it takes into account dependencies in thedrh2018-01-26
| | | | | | arguments to table-valued functions in subexpressions in the WHERE clause. Fix for ticket [80177f0c226ff54f6dd]. FossilOrigin-Name: 7daa687340e475972d6849f84fe1419a1f5700934f53fd80656849adc73d6d04
* Additional test case demonstrating the ability to access structure elementsdrh2017-10-27
| | | | | using quoted names in the JSON1 extension. FossilOrigin-Name: 8d3cc928a8f0c7b2616c5c75af9d3a50bd4f0fe8e4ccab545ab8648cbfbb4b7f
* Fix a regression caused by the fix for ticket [6c9b5514077fed34551f98e64c09a1] -drh2017-04-13
| | | | | control characters allowed in JSON. FossilOrigin-Name: 8e7b611863247a3bf46a96ec4b47d24c0ae0d60c9cee968a1cfd1da157e7c9bb
* Limit the depth of recursion for valid JSON in the JSON1 extension in orderdrh2017-04-11
| | | | | | to avoid using excess stack space in the recursive descent parser. Fix for ticket [981329adeef51011052667a9]. FossilOrigin-Name: 1f68c184596912d742b50b1ca38252a9e783aacf121619a27b17a7ae9f6df041
* Fix the JSON1 extension so that the JSON validator correctly rejects malformeddrh2016-11-07
| | | | | backslash escapes within string literals. FossilOrigin-Name: 7a63539169a384960e30a63e0c8e9b0f07fa431e
* Add the json_quote() function to the JSON1 extension.drh2016-06-17
| | | FossilOrigin-Name: 2c3714aebf5e40e3728877a235b3c1f93defa33e
* Escape control characters in JSON.drh2016-02-04
| | | | | Fix for ticket [ad2559db380abf8]. FossilOrigin-Name: 4f1b5229a3bbc9d40b7433a5eb3139d59d31dcb1
* Form-feed is not valid whitespace for json. drh2015-10-16
| | | | | Fix for ticket [57eec374ae1d0a1d] FossilOrigin-Name: 28957d635961c525f735a52b8ffe3e69ccf31382
* Json1 tests are working. Builds without FTS5 enabled. Still some problemsdrh2015-10-08
| | | | | building with FTS5. FossilOrigin-Name: 2928f8e87d2e5d121e6e7e5993cbb773bb2b0603
* Fix a JSON1 test case so that it works on builds that omit virtual tables.drh2015-09-24
| | | FossilOrigin-Name: a4444c0f662058bdd5267e616c31cef828bc1fc5
* Do not allow a comma at the end of a JSON array or object.drh2015-09-23
| | | FossilOrigin-Name: 7c7a3f3e9bc2f7a7334d8d6eae183d83f22097be
* Fix json_set() so that it can overwrite a value that was previously overwrittendrh2015-09-22
| | | | | during the same call. FossilOrigin-Name: 0f16041647993975c316203c7e11f06e27640136
* Fix a memory leak in json1.c that could occur after misuse of json_object().drh2015-09-19
| | | FossilOrigin-Name: 394b81b11f261a9b179a034bc2a2d2dff0765e3b
* 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
* New test cases for the json1 extension.drh2015-08-29
| | | FossilOrigin-Name: daff4832af963f98bcc1d2c2f84bd815d384f850
* Do not consider an empty string to be valid JSON. Add some additionaldrh2015-08-29
| | | | | JSON test cases. FossilOrigin-Name: fd19ff029f128f478f69910352a6f8b84262ce1d
* 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
* Fixes for compiler warnings and errors in the makefiles. Rename thedrh2015-08-21
one test script to json101.test. FossilOrigin-Name: 9ff6ccde5f26f18073587c320290570854ffc833