[#FOLLY_EXPECT_JSON_NEAR] = FOLLY_EXPECT_JSON_NEAR :mrdocs: GTest predicate asserting two JSON strings are equal within a tolerance. == Synopsis Declared in `<folly/json/JsonTestUtil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- #define FOLLY_EXPECT_JSON_NEAR(json1, json2, tolerance) ---- == Parameters [cols="1,4"] |=== | Name| Description | *json1* | The first JSON string. | *json2* | The second JSON string. | *tolerance* | The allowed numeric difference. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#