GTest predicate asserting two JSON strings are equal within a tolerance.
Declared in <folly/json/JsonTestUtil.h>
#define FOLLY_EXPECT_JSON_NEAR(json1, json2, tolerance)
| Name | Description |
|---|---|
| json1 | The first JSON string. |
| json2 | The second JSON string. |
| tolerance | The allowed numeric difference. |