The last value is used. See also <https://stackoverflow.com/questions/21832701/does-json-syntax-allow-duplicate-keys-in-an-object>
You can easily use the raw JSON parser directly and implement any policy that you need if you duplicated keys but I would first see if the duplicated keys can be avoided entirely.
