20 июн. 2017 г. · I'm using jq to parse a JSON file as shown here. However, the results for string values contain the "double-quotes" as expected, as shown below. |
29 июн. 2020 г. · To delete the quotation marks around the keys, the following may suffice. tr -d '\n' < escaped.json | jq fromjson | sed '/^ *".*": /{s/"//; s/": |
20 сент. 2024 г. · You're splitting the JSON string into separate lines, but what you need is to parse and preserve it as an object. Here is a better approach. |
20 нояб. 2019 г. · I'm using JQ to render some JSON. Everything is fine but what I need though is output without keys quotes. Trying to use raw options but this not helps at all. |
13 июн. 2017 г. · Just use a variable and save yourself the hassle: < package.json jq --arg b "$BOO" '. + { foo: $b }' --arg b "$BOO" creates a variable $b that you can use ... |
5 янв. 2021 г. · You need to invoke jq with the -r flag to get rid of quotes. Still doesn't match the expected output, but close. |
9 июл. 2020 г. · Use tonumber . You need to use parentheses not to change the context for the remaining elements of the array. [($date | tonumber), . |
25 окт. 2019 г. · I need to convert an output array to lines without brackets, quotes and commas, so that it can be used to create git clones. |
1 авг. 2022 г. · The jq authors recommendation is to wrap queries in double quotes on Windows when cmd is used. Next the double quote characters should be escaped with ... |
22 февр. 2020 г. · The --raw-output option, has no control on strings passed to @csv , as, by that time, they are not final results of the filter. |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |