foundry_common_fmt::dynamic

Function format_token_raw

Source
pub fn format_token_raw(value: &DynSolValue) -> String
Expand description

Pretty-prints the given value into a string suitable for re-parsing as values later.

This means:

  • integers are not formatted with exponential notation hints
  • structs are formatted as tuples, losing the struct and property names