Function json_pretty_print
Source pub fn json_pretty_print<T>(
value: T,
verbosity: Option<Verbosity>,
) -> Result<String, SdkError>
Expand description
Pretty prints a serializable value as a JSON string.
§Arguments
value
- The serializable value to pretty print.
verbosity
- An optional verbosity level for pretty printing.
§Returns
A JSON string representing the pretty printed value.