pact-jvm
pact-jvm copied to clipboard
PactDslJsonRootValue to support an array with different data-type values
I have use-case where I'm expecting PactDslJsonRootValue to contain one value as string and another one as an integer. Here's the example:
{ "someArray": [ "some value that is a string", 1 ] }
I'm not able achieve this using eachLike and PactDslJsonRootValue.
What about the order? Is it important?
Yes :)