Keep a typed JSON quantity numeric in SQL
Example input
[{"name":"Alex","qty":2}]Expected result
('Alex', 2)Choose JSON input, SQLite and a target table, then generate SQL. This output excerpt is the row's VALUES tuple: the name is quoted as text and the JSON number remains numeric. CSV input preserves cells as text instead. Review the full INSERT and any optional CREATE TABLE statement before executing an import.