wiki.techinc.nl/tests/phpunit/data/registration/duplicate_keys.json
Florian Schmidt 45cebbe9f6 registration: Validate no duplicate keys exist in extension.json
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
2018-07-18 09:29:43 +00:00

4 lines
39 B
JSON

{
"name": "FooBar",
"name": "Test"
}