News for hackers. Stuff that matters.
Re:TomWright/dasel: Select, put and delete data from JSON, T... by tofflos on Sunday August 18, 2024 @02:31PM (#41284259)
I used yq last week to scan through all the Java projects (i.e. Maven pom.xml-files) within our org to check which ones inherit from the corporate pom.

  yq eval --input-format xml --output-format csv '[file_index, file_name, .project.parent.groupId, .project.parent.artifactId, .project.parent.version]' **/pom.xml
Re:TomWright/dasel: Select, put and delete data from JSON, T... by hnlmorg on Sunday August 18, 2024 @03:29PM (#41284754)
Which yq? Last time I checked, there seemed to be a few tools with the same name.
Re:TomWright/dasel: Select, put and delete data from JSON, T... by srott on Monday August 19, 2024 @03:10AM (#41288547)
The “go” yq

https://github.com/mikefarah/yq

| yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor