Open
Description
Describe the bug
I was preparing to copy a json file to sqlite (similar to https://sq.io/docs/cookbook#import-json-array-to-database ) but could not because I encountered some buggy behaviour.
sample data: https://github.com/lutangar/cities.json/raw/master/cities.json
# use jq to check it is valid json
cat cities.json | jq '.'
To Reproduce
$ sq add ./cities.json
$ sq inspect @cities
sq: failed to inspect @cities: invalid JSON: additional input expected
$ sq '@cities | .[]'
sq: invalid JSON: additional input expected
Expected behavior
Not actually sure to be honest, but definitely not what was received haha
sq version
"version": "v0.47.2",
"commit": "135318f",
"timestamp": "2024-01-30T05:13:40Z",
"latest_version": "v0.48.1",