StringJSON returns an indented JSON string representation of the given value for printing/debugging.
(v any)
| 230 | // StringJSON returns an indented JSON string representation |
| 231 | // of the given value for printing/debugging. |
| 232 | func StringJSON(v any) string { |
| 233 | return string(errors.Log1(jsonx.WriteBytesIndent(v))) |
| 234 | } |
no test coverage detected