compareJSONMaps compares two JSON objects (passed as maps).
(wantMap, gotMap map[string]interface{})
| 61 | |
| 62 | // compareJSONMaps compares two JSON objects (passed as maps). |
| 63 | func compareJSONMaps(wantMap, gotMap map[string]interface{}) error { |
| 64 | return diffJSONMaps(wantMap, gotMap, "") |
| 65 | } |
| 66 | |
| 67 | // unmarshalJSON unmarshals the given string into a map. |
| 68 | func unmarshalJSON(jsonStr string) (map[string]interface{}, error) { |
no test coverage detected