Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
json
Commits
a8e86ba9
Unverified
Commit
a8e86ba9
authored
Jan 04, 2022
by
Niels Lohmann
Committed by
GitHub
Jan 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
📝
improve documentation InputType and IteratorType (#3246)
parent
9e89c2fd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
doc/mkdocs/docs/api/basic_json/accept.md
doc/mkdocs/docs/api/basic_json/accept.md
+5
-1
doc/mkdocs/docs/api/basic_json/parse.md
doc/mkdocs/docs/api/basic_json/parse.md
+1
-0
No files found.
doc/mkdocs/docs/api/basic_json/accept.md
View file @
a8e86ba9
...
...
@@ -32,10 +32,14 @@ Unlike the [`parse`](parse.md) function, this function neither throws an excepti
-
a
`FILE`
pointer
-
a C-style array of characters
-
a pointer to a null-terminated string of single byte characters
-
a
`std::string`
-
an object
`obj`
for which
`begin(obj)`
and
`end(obj)`
produces a valid pair of iterators.
`IteratorType`
: a compatible iterator type
: a compatible iterator type, for instance.
- a pair of `std::string::iterator` or `std::vector<std::uint8_t>::iterator`
- a pair of pointers such as `ptr` and `ptr + len`
## Parameters
...
...
doc/mkdocs/docs/api/basic_json/parse.md
View file @
a8e86ba9
...
...
@@ -31,6 +31,7 @@ static basic_json parse(IteratorType first, IteratorType last,
-
a
`FILE`
pointer
-
a C-style array of characters
-
a pointer to a null-terminated string of single byte characters
-
a
`std::string`
-
an object
`obj`
for which
`begin(obj)`
and
`end(obj)`
produces a valid pair of iterators.
`IteratorType`
...
...
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