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
e951d198
Commit
e951d198
authored
Jan 19, 2017
by
Niels Lohmann
Committed by
GitHub
Jan 19, 2017
Browse files
Options
Browse Files
Download
Plain Diff
🔀
merge pull request #430 from vjon/patch-1
Fix documentation error
parents
bae8e701
046f6da8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+3
-3
No files found.
README.md
View file @
e951d198
...
...
@@ -263,6 +263,9 @@ const std::string tmp = j[0];
j
[
1
]
=
42
;
bool
foo
=
j
.
at
(
2
);
// comparison
j
==
"[
\"
foo
\"
, 1, true]"
_json
;
// true
// other stuff
j
.
size
();
// 3 entries
j
.
empty
();
// false
...
...
@@ -277,9 +280,6 @@ j.is_object();
j
.
is_array
();
j
.
is_string
();
// comparison
j
==
"[
\"
foo
\"
, 1, true]"
_json
;
// true
// create an object
json
o
;
o
[
"foo"
]
=
23
;
...
...
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