MCPcopy Create free account
hub / github.com/astercloud/aster / JSON

Method JSON

pkg/sandbox/remote.go:110–112  ·  view source on GitHub ↗

JSON 解析 JSON 响应

(v any)

Source from the content-addressed store, hash-verified

108
109// JSON 解析 JSON 响应
110func (rr *RemoteResponse) JSON(v any) error {
111 return json.Unmarshal(rr.Body, v)
112}
113
114// String 返回字符串响应
115func (rr *RemoteResponse) String() string {

Callers 15

GetAgentCardMethod · 0.80
HandleJSONRPCMethod · 0.80
HandleBatchJSONRPCMethod · 0.80
GetTaskStatusMethod · 0.80
handleHealthMethod · 0.80
handleListAgentsMethod · 0.80
handleAgentRunMethod · 0.80
handleAgentStatusMethod · 0.80
handleListRoomsMethod · 0.80
handleRoomSayMethod · 0.80
handleRoomJoinMethod · 0.80
handleRoomLeaveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected