SQLite Forum

Enabling JSON1 extension in the sqlite3.c amalgamation at compile time
Login
Oh, I see.  Thank you.

That would be what I was doing wrong. I tried to invoke `json_extract` on a test string at a normal line of C code not within a SQLite3 API to confirm that the extension had been enabled.

I figured I had to have been doing something stupid.  I thought the extension could be used for both purposes and was going to use it to break JSON strings passed to the C application into components before inserting/updating the database.

Thanks again for the explanation.

Since my question really isn't about enabling the extension after all, and is just my misunderstanding of how it is to be used, should I do something to remove the question or should it remain for others who might also make the same mistake?