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

change type structs encoding tag to json #648

Closed

Conversation

joshrwolf
Copy link
Contributor

@joshrwolf joshrwolf commented Apr 28, 2023

changes the struct types encoding to json. this does not change apko's config to be json based, but uses json as the common denominator of the two to appease external parsers that live in json land (like the json schema format used by schemastore).

This works assuming apko doesn't use any yaml specific syntax, which I'm guessing it doesn't, but please correct me if I'm wrong!

The encoding is fairly simple, but I did my best to add/remove omitempty where necessary.

This PR is related to wolfi-dev/wolfictl#190

@joshrwolf joshrwolf requested a review from a team as a code owner April 28, 2023 18:13
@joshrwolf joshrwolf requested review from kaniini and removed request for a team April 28, 2023 18:13
@joshrwolf joshrwolf force-pushed the yaml-to-json-encoding branch from 1c7de3b to 46ad436 Compare April 28, 2023 18:15
@joshrwolf joshrwolf force-pushed the yaml-to-json-encoding branch 2 times, most recently from 4de02ee to db72872 Compare May 6, 2023 11:15
@mepi262
Copy link

mepi262 commented Dec 5, 2024

@joshrwolf
It seems that this pull request has conflicts.
Would you resolve it?

@luhring
Copy link
Member

luhring commented Dec 9, 2024

Can this be closed now, since #933 merged?

@joshrwolf
Copy link
Contributor Author

close it!

@joshrwolf joshrwolf closed this Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants