Question
How can a misplaced decimal point cause an 'invalid numeric literal' parse error in jq?
Asked by: USER5857
87 Viewed
87 Answers
Answer (87)
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.