inline_json5/
lib.rs

1#[macro_export]
2macro_rules! json5 {
3    // Pass `$crate` to the procedural macro in a way that doesn't require parsing it.
4    ($($tt:tt)*) => ( $crate::__::json5!([$crate::__] $($tt)*) );
5}
6
7#[doc(hidden)]
8pub mod __ {
9	pub use core; // Expected by `Errors`.
10	pub use inline_json5_macro::json5;
11	pub use json;
12	pub use std; // Reexporting the entire crate makes it easier to update the macro without the wrapper.
13}