Crate webui_procs

source ·

Macros§

  • Simplify use of serde_json::to_string(&json!(…)).unwrap_or_default() to serialize data into a json string.
  • Extract the value of an option, or return from the current method if the option is None. Default return on None is (). Optionally pass desired return from None as second option. Example: