You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When attempting to parse a JSON-SEQ file, without the --seq flag, jq prints parse error: Invalid numeric literal at line 1, column 4
To Reproduce
The JSON-SEQ format uses an ASCII Record Separator (RS) character at the start of each entry, this is being mistakenly overlooked (by some argument). Example json.
Expected behavior
It would be nice if jq could relize the record separator character is there, and print a helpful message to retry with --seq
The RFC sort of hints at this use case
since RS may not appear in JSON texts in any other form, RS unambiguously delimits the start of any element in the sequence. RS is sufficient to unambiguously delimit all top-level JSON value types other than numbers.
Environment (please complete the following information):
Ubuntu
jq-1.6
The text was updated successfully, but these errors were encountered:
Describe the bug
When attempting to parse a JSON-SEQ file, without the
--seq
flag, jq printsparse error: Invalid numeric literal at line 1, column 4
To Reproduce
The JSON-SEQ format uses an ASCII Record Separator (RS) character at the start of each entry, this is being mistakenly overlooked (by some argument). Example json.
Expected behavior
It would be nice if jq could relize the record separator character is there, and print a helpful message to retry with
--seq
The RFC sort of hints at this use case
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: