Bugs That Bite
Published in

Bugs That Bite

parse error: Expected another key-value pair at line 1, column 284

Incorrect JSON Formatting

json = {"key" = "value" }p="key"echo $json | jq --arg k "$p" '.[$k]'

--

--

Helping make the world a better place, one error message at a time.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Teri Radichel

Cloud Security Training and Penetration Testing | GSE, GSEC, GCIH, GCIA, GCPM, GCCC, GREM, GPEN, GXPN | AWS Hero | Infragard | IANS Faculty | 2ndSightLab.com