{ "match": true, "comment": "Request matches with floats", "expected": { "headers": {"Content-Type": "application/json"}, "matchingRules": { "body": { "$.product.price": { "matchers": [ { "match": "regex", "regex": "\\d(\\.\\d{1,2})" } ] } } }, "body": { "contentType": "application/json", "encoded": false, "content": [ { "product": { "id": 123, "description": "Television", "price": 500.55 } } ] } }, "actual": { "headers": {"Content-Type": "application/json"}, "body": { "contentType": "application/json", "encoded": false, "content": [ { "product": { "id": 123, "description": "Television", "price": 500.55 } } ] } } }