MCPcopy Create free account
hub / github.com/cloudwego/eino-examples / ToJSONString

Function ToJSONString

adk/multiagent/deep/utils/utils.go:70–73  ·  view source on GitHub ↗
(v interface{})

Source from the content-addressed store, hash-verified

68}
69
70func ToJSONString(v interface{}) string {
71 str, _ := sonic.MarshalString(v)
72 return str
73}
74
75func GetCurrentTime() string {
76 loc, err := time.LoadLocation("Asia/Shanghai")

Callers 2

mainFunction · 0.92
InvokableRunMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected