MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / MustPrettyPrintJSON

Function MustPrettyPrintJSON

pkg/util/utilfn/marshal.go:31–34  ·  view source on GitHub ↗
(v any)

Source from the content-addressed store, hash-verified

29}
30
31func MustPrettyPrintJSON(v any) string {
32 str, _ := MarshalIndentNoHTMLString(v, "", " ")
33 return str
34}
35
36func ReUnmarshal(out any, in any) error {
37 barr, err := json.Marshal(in)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected