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

Function decodeSystemTaskJSONValue

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

Source from the content-addressed store, hash-verified

453}
454
455func decodeSystemTaskJSONValue(data string) any {
456 if data == "" {
457 return nil
458 }
459 var value any
460 if err := common.UnmarshalJsonStr(data, &value); err != nil {
461 return data
462 }
463 return value
464}

Callers 1

ToResponseMethod · 0.85

Calls 1

UnmarshalJsonStrFunction · 0.92

Tested by

no test coverage detected