Skip to content
Discussion options

You must be logged in to vote

Since the JSON type is just VARCHAR with an alias, you should be able to use the VARCHAR method.

Or, if you append a data chunk, you can create the chunk with a JSON-typed column. (Again, the JSON type is just a VARCHAR with an alias, which you can construct using DuckDBVarCharType.create('JSON').) I'd recommend appending using data chunks for all but the simplest scenarios, because the type support is complete and it's also more efficient.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jraymakers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #343 on November 25, 2025 21:09.