Enable JSON1 for bundled libsqlite #2852
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As JSON spreads very fast as a configuration-file and general communication format, in the past few years almost every SQL language has developed their own JSON support: MySQL, PostgreSQL, MariaDB, and even SQLite. However, while these can be used in all other drivers out-of-the-box, SQLite is a weak exception regarding this: JSON is supplied with an external plug-in. It'd be great if this extremely useful feature would be part of the core bundle. The code base is quite small compared to the FTS plug-ins, so it would not cause unnecessary overhead. It also does not introduce new types or operators - only a few
JSON_*
functions.@weltling @remicollet do you think it's viable?