Bläddra i källkod

README: Caveats: Duplicate object members

Max Bruckner 7 år sedan
förälder
incheckning
1e95363638
1 ändrade filer med 5 tillägg och 0 borttagningar
  1. 5 0
      README.md

+ 5 - 0
README.md

@@ -29,6 +29,7 @@ Ultralightweight JSON parser in ANSI C.
     * [Deep Nesting Of Arrays And Objects](#deep-nesting-of-arrays-and-objects)
     * [Thread Safety](#thread-safety)
     * [Case Sensitivity](#case-sensitivity)
+    * [Duplicate Object Members](#duplicate-object-members)
   * [Enjoy cJSON!](#enjoy-cjson)
 
 ## License
@@ -517,6 +518,10 @@ However it is thread safe under the following conditions:
 
 When cJSON was originally created, it didn't follow the JSON standard and didn't make a distinction between uppercase and lowercase letters. If you want the correct, standard compliant, behavior, you need to use the `CaseSensitive` functions where available.
 
+#### Duplicate Object Members
+
+cJSON supports parsing and printing JSON that contains objects that have multiple members with the same name. `cJSON_GetObjectItemCaseSensitive` however will always only return the first one.
+
 # Enjoy cJSON!
 
 - Dave Gamble (original author)