The docs says, that The json1 extension is a loadable extension for sqlite3, and the loadable extensions need to be compiled as shared libraries (source).
I searched a lot and I don't know how to enable them. I found that
- the compiled shared libraries might be provided by libsqlite3-mod-impexp
- many article tells how to install
libsqlite3-mod-impexp
(justapt install
actually), but none mentioned what's next, to enable the loadable extension, and use it.
Any detailed steps, and sample verification commands appreciated.
I need to use the json1 extension for sqlite3, i.e. using json in where clauses when invoking sqlite3
command from command line.
No,
libsqlite3-mod-impexp
is not necessary, thus no need to doapt install libsqlite3-mod-impexp
: