From 1e953636389224bf3be77f7dd1671a751c76cb4d Mon Sep 17 00:00:00 2001 From: Max Bruckner Date: Sun, 31 Dec 2017 01:24:35 +0100 Subject: [PATCH] README: Caveats: Duplicate object members --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index e890333..0197136 100644 --- a/README.md +++ b/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)