macro_rules! x_to_lower_x {
    () => { ... };
    ($a:expr $(,)*) => { ... };
    ($a:expr, $($rest:tt)*) => { ... };
}
Expand description

Based on x_to_lower_x()

Examples:

#[macro_use] extern crate serde_json_lodash;
use serde_json::json;
assert_eq!(
  x_to_lower_x!("--Foo-Bar--"),
  "--foo-bar--".to_owned()
);
assert_eq!(
  x_to_lower_x!("fooBar"),
  "foobar".to_owned()
);
assert_eq!(
  x_to_lower_x!("__FOO_BAR__"),
  "__foo_bar__".to_owned()
);

More examples:

assert_eq!(x_to_lower_x!(), "".to_owned());