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

Think about merde_yaml #17

Open
fasterthanlime opened this issue Jul 31, 2024 · 1 comment
Open

Think about merde_yaml #17

fasterthanlime opened this issue Jul 31, 2024 · 1 comment

Comments

@fasterthanlime
Copy link
Contributor

I know I said I only cared about JSON, but I lied: first off, I care about JSONC (json with comments), so I'm interested in merde_jsonc, and second, I need to read YAML frontmatter on my blog: never write it, just read it.

So I suppose a crate on top of https://docs.rs/yaml-rust2/latest/yaml_rust2/index.html that allows deserializing yaml to one of jiter's JsonValue.. wouldn't be too bad.

@fasterthanlime
Copy link
Contributor Author

(Why not merde_yaml? Because it's just a read-only adapter: there's already an incompatible Yaml value type in yaml_rust2, but I only want to deal with jiter::JsonValue, since this is what all the macros deal with)

@fasterthanlime fasterthanlime changed the title Think about merde_json_yaml Think about merde_yaml Sep 14, 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

No branches or pull requests

1 participant