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

Would be nice to have YAML pickle #410

Open
Ark-kun opened this issue Oct 24, 2022 · 1 comment
Open

Would be nice to have YAML pickle #410

Ark-kun opened this issue Oct 24, 2022 · 1 comment
Labels
enhancement not-a-bug Something that seems like a bug but is intended behavior wishlist An important issue where it'd take a lot of effort to make progress on

Comments

@Ark-kun
Copy link

Ark-kun commented Oct 24, 2022

YAML has multiple features that make it a better choice for pickling and serialization:

Tags. You could reliably represent/mark special objects using the tag metadata instead of praying that the original data does not have keys like "tag/id".

Object references. You could represent object cycles natively.

Non-string keys. YAML supports anything as a map key (list, dict etc).

@Theelx
Copy link
Contributor

Theelx commented Oct 26, 2022

Hm, that would be useful but I think it would be too much work for me to implement in the near future. If anyone else wants to take this on, feel free to fork and modify jsonpickle or start from scratch!

@Theelx Theelx added wishlist An important issue where it'd take a lot of effort to make progress on not-a-bug Something that seems like a bug but is intended behavior enhancement labels Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement not-a-bug Something that seems like a bug but is intended behavior wishlist An important issue where it'd take a lot of effort to make progress on
Projects
None yet
Development

No branches or pull requests

2 participants