Module pact_matching::json[][src]

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

Functions

display_diff

Returns a diff of the expected versus the actual JSON bodies, focusing on a particular path

match_json

Matches the expected JSON to the actual, and populates the mismatches vector with any differences