(value any)
| 1140 | } |
| 1141 | |
| 1142 | func taskPluginProtocolJSONValue(value any) (any, error) { |
| 1143 | encoded, err := common.Marshal(value) |
| 1144 | if err != nil { |
| 1145 | return nil, err |
| 1146 | } |
| 1147 | var decoded any |
| 1148 | if err = common.Unmarshal(encoded, &decoded); err != nil { |
| 1149 | return nil, err |
| 1150 | } |
| 1151 | return decoded, nil |
| 1152 | } |
| 1153 | |
| 1154 | func taskPluginProtocolRendererContext( |
| 1155 | request pluginruntime.ProtocolRequestContext, |
no test coverage detected