@@ -110,13 +110,17 @@ class ParsedJson::BasicIterator {
110
110
// (in case of repeated keys, this only finds the first one).
111
111
// We seek the key using C's strcmp so if your JSON strings contain
112
112
// NULL chars, this would trigger a false positive: if you expect that
113
- // to be the case, take extra precautions.
113
+ // to be the case, take extra precautions.
114
+ // Furthermore, we do the comparison character-by-character
115
+ // without taking into account Unicode equivalence.
114
116
inline bool move_to_key (const char *key);
115
117
// when at {, go one level deep, looking for a given key
116
118
// if successful, we are left pointing at the value,
117
119
// if not, we are still pointing at the object ({)
118
120
// (in case of repeated keys, this only finds the first one).
119
121
// The string we search for can contain NULL values.
122
+ // Furthermore, we do the comparison character-by-character
123
+ // without taking into account Unicode equivalence.
120
124
inline bool move_to_key (const char *key, uint32_t length);
121
125
122
126
// when at a key location within an object, this moves to the accompanying
0 commit comments