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
f0e73163
Commit
f0e73163
authored
Jun 20, 2020
by
Thomas Braun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
json_pointer.hpp: Mention more exception in documentation
Forgotten in
dcd3a6c6
(move the catch of std::invalid_argument into array_index(), 2020-03-23).
parent
74c6e429
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
json_pointer.hpp
include/nlohmann/detail/json_pointer.hpp
+2
-0
json.hpp
single_include/nlohmann/json.hpp
+2
-0
No files found.
include/nlohmann/detail/json_pointer.hpp
View file @
f0e73163
...
@@ -325,6 +325,8 @@ class json_pointer
...
@@ -325,6 +325,8 @@ class json_pointer
@return integer representation of @a s
@return integer representation of @a s
@throw parse_error.106 if an array index begins with '0'
@throw parse_error.109 if an array index begins not with a digit
@throw out_of_range.404 if string @a s could not be converted to an integer
@throw out_of_range.404 if string @a s could not be converted to an integer
*/
*/
static
int
array_index
(
const
std
::
string
&
s
)
static
int
array_index
(
const
std
::
string
&
s
)
...
...
single_include/nlohmann/json.hpp
View file @
f0e73163
...
@@ -11357,6 +11357,8 @@ class json_pointer
...
@@ -11357,6 +11357,8 @@ class json_pointer
@return integer representation of @a s
@return integer representation of @a s
@throw parse_error.106 if an array index begins with '0'
@throw parse_error.109 if an array index begins not with a digit
@throw out_of_range.404 if string @a s could not be converted to an integer
@throw out_of_range.404 if string @a s could not be converted to an integer
*/
*/
static
int
array_index
(
const
std
::
string
&
s
)
static
int
array_index
(
const
std
::
string
&
s
)
...
...
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