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
Oh thanks! Woah, it took more than 6 years to have a first PR that is going to be merged. I didn't know it was that difficult for such a simple feature.
This is not that simple, the main issue is how to retain the comments with jq . reformatting JSON files with comments. Another issue is that the feature should be opt-in, because jq should behave strictly by default for validation use-case, but the current parser implementation makes it difficult to archieve. Closing as dup issub anyway.
Hello,
In my script I have the following code for reading information from an input JSON:
The issue is that if the JSON has comments:
{ // some comments }
then it raises an error. Can
jq
ignore comments?Thank you in advance for your answer!
The text was updated successfully, but these errors were encountered: