JSONStringObject 解析JSON字符串
(jsonStr string, obj interface{})
| 40 | |
| 41 | // JSONStringObject 解析JSON字符串 |
| 42 | func JSONStringObject(jsonStr string, obj interface{}) bool { |
| 43 | return JSONBytesObject([]byte(jsonStr), obj) |
| 44 | } |
| 45 | |
| 46 | // JSONBytesObject 解析JSON字节数组 |
| 47 | func JSONBytesObject(jsonBytes []byte, obj interface{}) bool { |
nothing calls this directly
no test coverage detected