Skip to content

array inside an array not showing as different jsons #46

Description

@ramveer93

JSON 1.
{ "url": "https://apm-asset-svc-preprod.preprod-app-api.aws-usw02-pr.predix.io/v1/assets", "requestMethod": "GET", "staticHeader": { "Accept": "application/json", "Content-Type": "application/json", "Authorization": "", "tenant": "" }, "dynamicHeader": [ "Authorization", "tenant" ], "requestBodyType": "JSON", "requestBody": [ ], "queryParam": { }, "responseType": "JSON", "responseRootPath": null, "response": [ [ { "name": "name", "xPath": "name", "dataType": "VARCHAR" }, { "name": "uri", "xPath": "uri", "dataType": "VARCHAR" }, { "name": "label", "xPath": "label", "dataType": "VARCHAR" } ] ] }

JSON 2.

{ "url": "https://apm-asset-svc-rc.int-app.aws-usw02-pr.predix.io/v1/tags/query", "requestMethod": "GET", "staticHeader": { "Accept": "application/json", "Content-Type": "application/json", "Authorization": "", "tenant": "" }, "dynamicHeader": [ ], "requestBodyType": "JSON", "requestBody": [ ], "queryParam": { "q": "" }, "responseType": "JSON", "responseRootPath": "", "response": [ { "name": "uri", "xPath": "uri", "dataType": "VARCHAR" }, { "name": "sourceKey", "xPath": "sourceKey", "dataType": "VARCHAR" }, { "name": "name", "xPath": "name", "dataType": "VARCHAR" }, { "name": "monitoredEntityUri", "xPath": "monitoredEntityUri", "dataType": "VARCHAR" }, { "name": "timeseriesLink", "xPath": "reservedAttributes.timeseriesLink", "dataType": "VARCHAR" } ] }

Now if i use JSON diff it only shows differences in url and responseRootPath , But if you see the response array there is diff in both jsons which is not shown in tool.

Please see attached image

screen shot 2017-11-17 at 3 14 52 pm

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions