You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 anotherpart of the documentation also patently states that objects, not arrays, are the exception with respect to json::find and json::count.
The text was updated successfully, but these errors were encountered:
Consider the table Container function overview. It states that
json::find
will always returnjson::end()
for objects. Likewise oughtjson::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 (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::find
andjson::count
.The text was updated successfully, but these errors were encountered: