The JSON specification permits duplicate keys, but doing so is almost always nearly a mistake. We can use the JSON lint library (added as dev-requirement to composer), which is now also used to decode the JSON (as it's the same step as validating the JSON). Bug: T153507 Change-Id: Ia713a1906169333c1aa2aebdc0ed060d26428d72 |
||
|---|---|---|
| .. | ||
| autoload_namespaces.json | ||
| bad_spdx.json | ||
| bad_url.json | ||
| bad_url2.json | ||
| duplicate_keys.json | ||
| good.json | ||
| invalid.json | ||
| newer_manifest_version.json | ||
| no_manifest_version.json | ||
| notjson.txt | ||
| old_manifest_version.json | ||