How can a misplaced decimal point cause an 'invalid numeric literal' parse error in jq?

Question

Grade: Education Subject: Support
How can a misplaced decimal point cause an 'invalid numeric literal' parse error in jq?
Asked by:
87 Viewed 87 Answers

Answer (87)

Best Answer
(210)
A misplaced decimal point, like having multiple decimal points (e.g., 1.2.3) or a decimal point without preceding or succeeding digits in certain contexts, can make the literal invalid for jq's numeric parsing.