Skip to content

Add Json support#885

Merged
olblak merged 12 commits into
updatecli:mainfrom
olblak:jsonResource
Sep 24, 2022
Merged

Add Json support#885
olblak merged 12 commits into
updatecli:mainfrom
olblak:jsonResource

Conversation

@olblak

@olblak olblak commented Sep 23, 2022

Copy link
Copy Markdown
Member

Signed-off-by: Olblak me@olblak.com

#870

Add json support

Test

To test this pull request, you can run the following commands:

cp pkg/plugins/resources/json
go test

Additional Information

Tradeoff

I decided to use https://github.com/TomWright/dasel to manipulate Json

Potential improvement

We can get some inspiration from this PR to implement toml and csv support

Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Comment thread pkg/plugins/resources/json/main.go Outdated
@olblak olblak mentioned this pull request Sep 24, 2022
@olblak olblak merged commit e547b09 into updatecli:main Sep 24, 2022
@olblak olblak added the enhancement New feature or request label Sep 28, 2022
@olblak olblak deleted the jsonResource branch June 12, 2025 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request resource-json

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant