Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Json support #885

Merged
merged 12 commits into from
Sep 24, 2022
Merged

Add Json support #885

merged 12 commits into from
Sep 24, 2022

Conversation

olblak
Copy link
Member

@olblak olblak commented Sep 23, 2022

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>
@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
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.

None yet

1 participant