Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
json
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
json
Commits
12c0bc4c
Unverified
Commit
12c0bc4c
authored
May 03, 2021
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
📝
document less-than comparability
parent
08185548
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
10 deletions
+14
-10
at.md
doc/mkdocs/docs/api/basic_json/at.md
+2
-2
contains.md
doc/mkdocs/docs/api/basic_json/contains.md
+2
-2
count.md
doc/mkdocs/docs/api/basic_json/count.md
+2
-1
erase.md
doc/mkdocs/docs/api/basic_json/erase.md
+2
-1
find.md
doc/mkdocs/docs/api/basic_json/find.md
+2
-1
operator[].md
doc/mkdocs/docs/api/basic_json/operator[].md
+2
-2
value.md
doc/mkdocs/docs/api/basic_json/value.md
+2
-1
No files found.
doc/mkdocs/docs/api/basic_json/at.md
View file @
12c0bc4c
...
@@ -23,8 +23,8 @@ const_reference at(const json_pointer& ptr) const;
...
@@ -23,8 +23,8 @@ const_reference at(const json_pointer& ptr) const;
## Template parameters
## Template parameters
`KeyT`
`KeyT`
: A type for an object key other than
`basic_json::json_pointer`
. This can also be a string literal or a string view
: A type for an object key other than
`basic_json::json_pointer`
that is less-than comparable with
`string_t`
. This
(C++17).
can also be a string literal or a string view
(C++17).
## Parameters
## Parameters
...
...
doc/mkdocs/docs/api/basic_json/contains.md
View file @
12c0bc4c
...
@@ -11,8 +11,8 @@ value is not an object, `#!cpp false` is returned.
...
@@ -11,8 +11,8 @@ value is not an object, `#!cpp false` is returned.
## Template parameters
## Template parameters
`KeyT`
`KeyT`
: A type for an object key other than
`basic_json::json_pointer`
. This can also be a string literal or a string view
: A type for an object key other than
`basic_json::json_pointer`
that is less-than comparable with
`string_t`
. This
(C++17).
can also be a string literal or a string view
(C++17).
## Parameters
## Parameters
...
...
doc/mkdocs/docs/api/basic_json/count.md
View file @
12c0bc4c
...
@@ -11,7 +11,8 @@ always be `0` (`key` was not found) or `1` (`key` was found).
...
@@ -11,7 +11,8 @@ always be `0` (`key` was not found) or `1` (`key` was found).
## Template parameters
## Template parameters
`KeyT`
`KeyT`
: A type for an object key. This can also be a string literal or a string view (C++17).
: A type for an object key that is less-than comparable with
`string_t`
. This can also be a string literal or a string
view (C++17).
## Parameters
## Parameters
...
...
doc/mkdocs/docs/api/basic_json/erase.md
View file @
12c0bc4c
...
@@ -35,7 +35,8 @@ void erase(const size_type idx);
...
@@ -35,7 +35,8 @@ void erase(const size_type idx);
## Template parameters
## Template parameters
`KeyT`
`KeyT`
: A type convertible to an object key. This can also be a string literal or a string view (C++17).
: A type for an object key that is less-than comparable with
`string_t`
. This can also be a string literal or a string
view (C++17).
## Parameters
## Parameters
...
...
doc/mkdocs/docs/api/basic_json/find.md
View file @
12c0bc4c
...
@@ -14,7 +14,8 @@ object, `end()` is returned.
...
@@ -14,7 +14,8 @@ object, `end()` is returned.
## Template parameters
## Template parameters
`KeyT`
`KeyT`
: A type for an object key. This can also be a string literal or a string view (C++17).
: A type for an object key that is less-than comparable with
`string_t`
. This can also be a string literal or a string
view (C++17).
## Parameters
## Parameters
...
...
doc/mkdocs/docs/api/basic_json/operator[].md
View file @
12c0bc4c
...
@@ -23,8 +23,8 @@ const_reference operator[](const json_pointer& ptr) const;
...
@@ -23,8 +23,8 @@ const_reference operator[](const json_pointer& ptr) const;
## Template parameters
## Template parameters
`KeyT`
`KeyT`
: A type for an object key other than
`basic_json::json_pointer`
. This can also be a string literal or a string view
: A type for an object key other than
`basic_json::json_pointer`
that is less-than comparable with
`string_t`
. This
(C++17).
can also be a string literal or a string view
(C++17).
## Parameters
## Parameters
...
...
doc/mkdocs/docs/api/basic_json/value.md
View file @
12c0bc4c
...
@@ -42,7 +42,8 @@ Unlike [`operator[]`](operator[].md), this function does not implicitly add an e
...
@@ -42,7 +42,8 @@ Unlike [`operator[]`](operator[].md), this function does not implicitly add an e
## Template parameters
## Template parameters
`
KeyType
`
`
KeyType
`
: A type for an object key. This can also be a string literal or a string view (C++17).
: A type for an object key that is less-than comparable with `
string_t
`. This can also be a string literal or a string
view (C++17).
`
ValueType
`
`
ValueType
`
: type compatible to JSON values, for instance `
#!cpp int
` for JSON integer numbers, `
#!cpp bool
` for JSON booleans,
: type compatible to JSON values, for instance `
#!cpp int
` for JSON integer numbers, `
#!cpp bool
` for JSON booleans,
or `
#!cpp std::vector
` types for JSON arrays. Note the type of the expected value at `
key
`/`
ptr
` and the default
or `
#!cpp std::vector
` types for JSON arrays. Note the type of the expected value at `
key
`/`
ptr
` and the default
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment