You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@vdonich alerted me to the fact that serde_json::Value works perfectly well with json5, what with serde being interoperable and all.
For example, something like this seems to work absolutely fine:
let value = json5::from_str::<serde_json::Value>(&buffer);
I would still like to address #2 so we can write json5 in a macro, but assuming nobody finds any issues with deserialising in to serde_json::Value I think this issue can probably be closed. (@zonyitoo pinging you in case this is still relevant, I realise it was a while ago!)
We should provide a value type in the style of serde_json's.
Prerequisite for #2.
The text was updated successfully, but these errors were encountered: