json_matcher 0.2.4
json_matcher: ^0.2.4 copied to clipboard

JSON Matchers for unit tests: encodesToJson() checks if the value encodes to expected JSON, isJson() checks if the string is expected JSON.

JSON Matchers for unit tests #

Provides:

  • encodesToJson() matcher which checks if the value encodes to expected JSON
  • isJson() matcher which checks if the string is expected JSON

See the example for more details.

1
likes
95
pub points
16%
popularity

Publisher

karapetov.com

JSON Matchers for unit tests: encodesToJson() checks if the value encodes to expected JSON, isJson() checks if the string is expected JSON.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

convert, matcher

More

Packages that depend on json_matcher