callum-oakley / json5-rs

A Rust JSON5 serializer and deserializer which speaks Serde.
ISC License
184 stars 23 forks source link

add json5 macro for value construction #2

Open alexmaco opened 5 years ago

alexmaco commented 5 years ago

It would be useful to have a macro for constructing values with json5 syntax, in the style of https://docs.rs/serde_json/1.0.33/serde_json/macro.json.html

callum-oakley commented 5 years ago

It certainly would! Thanks for the idea :)