[HN Gopher] Select, put and delete data from JSON, TOML, YAML, X...
___________________________________________________________________
Select, put and delete data from JSON, TOML, YAML, XML and CSV
files
Author : wyuenho
Score : 37 points
Date : 2022-03-07 20:35 UTC (2 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| nyellin wrote:
| Very nice.
|
| I film a small YouTube series called _100 Kubernetes Tools_ where
| I show useful open source tools. This is definitely going to be
| in a future video. [1]
|
| [1]
| https://www.youtube.com/playlist?list=PLxKcdWncGLlNiWC71kKwD...
| RodgerTheGreat wrote:
| The "delete" example on the readme is a bit odd, since it seems
| to suggest that you need to specify the value to delete as well
| as the path. The equivalent in the documentation does not have
| this problem.
| mkroman wrote:
| I think I prefer yq's[1] syntax for manipulating and updating
| fields.
|
| Combined with yj[2] you can also get TOML and HCL support, but
| not CSV.
|
| It's certainly not because there's a lack of these tools :p
|
| [1]: https://github.com/mikefarah/yq
|
| [2]: https://github.com/sclevine/yj
___________________________________________________________________
(page generated 2022-03-07 23:00 UTC)