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

Enable Absent "universe" and "address" in updateFixtures JSON #34

Open
Firionus opened this issue Mar 20, 2021 · 0 comments
Open

Enable Absent "universe" and "address" in updateFixtures JSON #34

Firionus opened this issue Mar 20, 2021 · 0 comments

Comments

@Firionus
Copy link
Contributor

Firionus commented Mar 20, 2021

Currently, when a fixture is updated and there is no change to the "universe" or "address" field, a null value is serialized. This is valid, but it would be nicer if the fields were completely absent.

This is currently not possible in Klaxon so we first need to add a feature upstream. While there already is the "serializeNull" feature, it does not work if we need to use a custom converter (as we have to in this case).

This issue is very low priority as the overhead is not too large, patch changes don't occur often and we may change JSON package in the future anyway.

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

No branches or pull requests

1 participant