Consider the table Container function overview. It states that json::find will always return json::end() for objects. Likewise ought json::count to return 0. However, the source code makes it very clear, that said information pertains to any JSON value type but objects. My guess is that both remarks (returns end()) and (returns 0) are supposed to be in the column 'array', not in the column 'object'. This assumption is supported by the fact that another part of the documentation also patently states that objects, not arrays, are the exception with respect to json::find and json::count.
Consider the table Container function overview. It states that
json::findwill always returnjson::end()for objects. Likewise oughtjson::countto return 0. However, the source code makes it very clear, that said information pertains to any JSON value type but objects. My guess is that both remarks (returnsend()) and (returns0) are supposed to be in the column 'array', not in the column 'object'. This assumption is supported by the fact that another part of the documentation also patently states that objects, not arrays, are the exception with respect tojson::findandjson::count.