JSON Transformation Test

JSON Transformation Test, is the section where JSON transformation and data picking are made. Apinizer uses the JOLT library under the hood for transformation operations.

Step 1: Selecting Operation Type
  • One of either transformation or json path is chosen.
Step 2: JSON Transformation
  • After the transformation option is selected, a new test page will open to test transformation.
  • After the JSON Content and Jolt Expression are entered, The Run button will run the expression and show the result.

    JSON Transformation Screen

    • JSON Content: The area where the JSON to be transformed is put.
    • JOLT: The area where the JOLT expression is put.
    • Examples: Has transformation examples. These examples can be helpful while creating your own transformations.
    • JSON Result: Where the result of the expression is shown.
Step 3: JSON Path
  • After the JSON Path option is selected, a new test page will open to test data picking using JSON Path.
  • After the JSON Content and JSONPath are entered, The Run button will show the result.

    JSON Path Test Screen

    • JSON Content: The area where the JSON data is entered.
    • JSON Path: The JSONPath to use for filtering the data.
    • Examples: Has JSONPath examples. These examples can be helpful while creating your own transformations.
    • JSON Result: Where the result of the expression is shown.