From e6dbfea17a89aba6875f55a80bf9d35fd3ecc869 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Fri, 26 May 2017 19:47:20 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- spring-cloud-contract.html | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/spring-cloud-contract.html b/spring-cloud-contract.html index 3a4a3aa0dc..2c4bc934ac 100644 --- a/spring-cloud-contract.html +++ b/spring-cloud-contract.html @@ -7197,6 +7197,29 @@ the authToken() method returns everything that you need. +
+

The type of the object read from the JSON can be one of the followings depending on the +JSON path:

+
+
+ +
@@ -7455,6 +7478,33 @@ That way you can assert on the size of the collection.

passed as an input to the custom method that you’re providing. E.g. byCommand('foo($it)') will result in calling a foo method to which the value matching the JSON Path will get passed.

+
+
    +
  • +

    The type of the object read from the JSON can be one of the followings depending on the +JSON path:

    +
    +
      +
    • +

      String if you point to a String value in a JSON

      +
    • +
    • +

      JSONArray if you point to a List in a JSON

      +
    • +
    • +

      Map if you point to a Map in a JSON

      +
    • +
    • +

      proper Number if you point to Integer, Double etc. in a JSON

      +
    • +
    • +

      Boolean if you point to a Boolean in a JSON

      +
    • +
    +
    +
  • +
+