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

Function decodeSystemTaskJSONValue

model/system_task.go:611–620  ·  view source on GitHub ↗
(data string)

Source from the content-addressed store, hash-verified

609}
610
611func decodeSystemTaskJSONValue(data string) any {
612 if data == "" {
613 return nil
614 }
615 var value any
616 if err := common.UnmarshalJsonStr(data, &value); err != nil {
617 return data
618 }
619 return value
620}

Callers 1

ToResponseMethod · 0.85

Calls 1

UnmarshalJsonStrFunction · 0.92

Tested by

no test coverage detected