@tostr converts a string to json {"id":1023,"name":"alert"} -> "{\"id\":1023,\"name\":\"alert\"}"
(str, arg string)
| 3245 | // |
| 3246 | // {"id":1023,"name":"alert"} -> "{\"id\":1023,\"name\":\"alert\"}" |
| 3247 | func modToStr(str, arg string) string { |
| 3248 | return string(AppendJSONString(nil, str)) |
| 3249 | } |
| 3250 | |
| 3251 | func modGroup(json, arg string) string { |
| 3252 | res := Parse(json) |
nothing calls this directly
no test coverage detected
searching dependent graphs…