MCPcopy Create free account
hub / github.com/QuantumNous/new-api / decodeSystemTaskJSONString

Function decodeSystemTaskJSONString

model/system_task.go:604–609  ·  view source on GitHub ↗
(data string, v any)

Source from the content-addressed store, hash-verified

602}
603
604func decodeSystemTaskJSONString(data string, v any) error {
605 if data == "" {
606 return nil
607 }
608 return common.UnmarshalJsonStr(data, v)
609}
610
611func decodeSystemTaskJSONValue(data string) any {
612 if data == "" {

Callers 2

DecodePayloadMethod · 0.85
DecodeStateMethod · 0.85

Calls 1

UnmarshalJsonStrFunction · 0.92

Tested by

no test coverage detected