I would like to discuss about this change <https:/...
# libpact_ffi-users
t
I would like to discuss about this change https://github.com/pact-foundation/pact-reference/pull/405/files#diff-4ebc1aebf7776ab6040dc317cf34fd5ff89ac78e80c07d13de1bce2ce898650fR187-R217 Should we change the format into something like this:
Copy code
{
  "results": {
    "pact:matcher:type": "matchAll",
    "rules": [
      {
        "pact:matcher:type": "each-key",
        "value": "AUK-155332",
        "rules": [
          {
            "pact:matcher:type": "regex",
            "regex": "\\w{3}-\\d+"
          }
        ]
      },
      {
        "pact:matcher:type": "each-value",
        "rules": [
          {
            "pact:matcher:type": "type"
          }
        ]
      }
    ],
    "value": {
      "AUK-155332": {
        "title": "...",
        "description": "...",
        "link": "http://....",
        "relatesTo": [
          "BAF-88654"
        ]
      }
    }
  }
}
r
That's no different than just providing the array of matching rules for the
pact:matcher:type
attribute
t
Yes, there are no different in term of feature. I'm talking about the consistency format to other matchers.