@@ -101,6 +101,8 @@ class object : protected internal::tape_ref {
101101 * parser.parse(R"({ "a\n": 1 })")["a\n"].get<uint64_t>().value == 1
102102 * parser.parse(R"({ "a\n": 1 })")["a\\n"].get<uint64_t>().error == NO_SUCH_FIELD
103103 *
104+ * This function has linear-time complexity: the keys are checked one by one.
105+ *
104106 * @return The value associated with this field, or:
105107 * - NO_SUCH_FIELD if the field does not exist in the object
106108 * - INCORRECT_TYPE if this is not an object
@@ -116,6 +118,8 @@ class object : protected internal::tape_ref {
116118 * parser.parse(R"({ "a\n": 1 })")["a\n"].get<uint64_t>().value == 1
117119 * parser.parse(R"({ "a\n": 1 })")["a\\n"].get<uint64_t>().error == NO_SUCH_FIELD
118120 *
121+ * This function has linear-time complexity: the keys are checked one by one.
122+ *
119123 * @return The value associated with this field, or:
120124 * - NO_SUCH_FIELD if the field does not exist in the object
121125 * - INCORRECT_TYPE if this is not an object
@@ -147,6 +151,8 @@ class object : protected internal::tape_ref {
147151 * parser.parse(R"({ "a\n": 1 })")["a\n"].get<uint64_t>().value == 1
148152 * parser.parse(R"({ "a\n": 1 })")["a\\n"].get<uint64_t>().error == NO_SUCH_FIELD
149153 *
154+ * This function has linear-time complexity: the keys are checked one by one.
155+ *
150156 * @return The value associated with this field, or:
151157 * - NO_SUCH_FIELD if the field does not exist in the object
152158 */
@@ -158,6 +164,8 @@ class object : protected internal::tape_ref {
158164 *
159165 * Note: The key will be matched against **unescaped** JSON.
160166 *
167+ * This function has linear-time complexity: the keys are checked one by one.
168+ *
161169 * @return The value associated with this field, or:
162170 * - NO_SUCH_FIELD if the field does not exist in the object
163171 */
0 commit comments