There is no “error” if you use more than one key with the same name, but in JSON, the last key with the same name is the one that is going to be used . In your case, the key “name” would be better to contain an array as it’s value, instead of having a number of keys “name”.
Read moreIs JSON order sensitive?
Any error or exception? The JSON RFC (RFC 4627) says that order of object members does not matter .
Read moreIs Java map key case sensitive?
Map is one of the most common data structures in Java, and String is one of the most common types for a map’s key. By default, a map of this sort has case-sensitive keys .26 May 2020
Read moreAre keys in JSON case sensitive?
JSON is case-sensitive . SQL is case-insensitive, but names in SQL code are implicitly uppercase.
Read moreShould JSON be camelCase?
The JSON syntax does not impose any restrictions on the strings used as names,… There is no standard naming of keys in JSON and that camelCase or snake_case should work fine .
Read moreIs JSON Net case sensitive?
Json does case sensitive JSON deserialization . Case sensitivity comes into play when a JSON string is being deserialized into an object.
Read more