blitlabs / online-json-diff

https://json-diff.com
MIT License
411 stars 84 forks source link

There is no validation for duplicate lines #21

Closed clicman closed 8 years ago

clicman commented 8 years ago

Hi! It is not mars json as invalid if duplicate field in it:

{
  "id":1,
  "required": false,
  "required": true
}

But should mak this json as invalid

justspamjustin commented 8 years ago

something interesting: jsonlint.com says the above json is valid.

justspamjustin commented 8 years ago

because I don't think that is actually technically invalid JSON and it doesn't hinder your attempts in getting a diff of two objects, I'm closing this. Thanks!