rust-embedded-community / serde-json-core

`serde-json` for `no_std` programs
Apache License 2.0
161 stars 59 forks source link

Rust enum support #94

Open angelorodem opened 1 week ago

angelorodem commented 1 week ago

Hi, i could not find the reason on gh issues or in other places, what is the current limitation that prevents an implementation that is able to Serialize/Deserialize rust non C-like enums? is that some limitation because it is not possible in no_std or is just a missing feature?

ryan-summers commented 1 week ago

I had one question when reading this: How does a complex rust enum map into json object representations?

After researching serde-json, it seems to me like this is simply missing implementation. If you'd like to take it on, I'd be happy to review the change!