Skip to content

contradictory documentation regarding json::find #565

Description

@Fytch

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions