MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / GetJsonString

Function GetJsonString

common/str.go:91–97  ·  view source on GitHub ↗
(data any)

Source from the content-addressed store, hash-verified

89}
90
91func GetJsonString(data any) string {
92 if data == nil {
93 return ""
94 }
95 b, _ := json.Marshal(data)
96 return string(b)
97}

Callers 1

RecordConsumeLogFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected