Module pact_matching::json

source ·
Expand description

The json module provides functions to compare and display the differences between JSON bodies

Functions§

  • Compares the actual JSON to the expected one
  • Returns a diff of the expected versus the actual JSON bodies, focusing on a particular path
  • Matches the expected JSON to the actual, and populates the mismatches vector with any differences