Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

array inside an array not showing as different jsons #46

Open
ramveer93 opened this issue Nov 17, 2017 · 0 comments
Open

array inside an array not showing as different jsons #46

ramveer93 opened this issue Nov 17, 2017 · 0 comments

Comments

@ramveer93
Copy link

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

justspamjustin pushed a commit that referenced this issue May 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant