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
d524e232
Commit
d524e232
authored
Feb 22, 2015
by
Niels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
overworked iterators
parent
bc2e3a79
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3101 additions
and
1472 deletions
+3101
-1472
README.md
README.md
+8
-0
json.gif
json.gif
+0
-0
src/json.hpp
src/json.hpp
+640
-174
src/json.hpp.re2c
src/json.hpp.re2c
+640
-174
test/unit.cpp
test/unit.cpp
+1813
-1124
No files found.
README.md
View file @
d524e232
...
@@ -214,6 +214,14 @@ j.empty(); // false
...
@@ -214,6 +214,14 @@ j.empty(); // false
j
.
type
();
// json::value_t::array
j
.
type
();
// json::value_t::array
j
.
clear
();
// the array is empty again
j
.
clear
();
// the array is empty again
// convenience type checkers
j
.
is_null
();
j
.
is_boolean
();
j
.
is_number
();
j
.
is_object
();
j
.
is_array
();
j
.
is_string
();
// comparison
// comparison
j
==
"[
\"
foo
\"
, 1, true]"
_json
;
// true
j
==
"[
\"
foo
\"
, 1, true]"
_json
;
// true
...
...
json.gif
0 → 100644
View file @
d524e232
344 KB
src/json.hpp
View file @
d524e232
This diff is collapsed.
Click to expand it.
src/json.hpp.re2c
View file @
d524e232
This diff is collapsed.
Click to expand it.
test/unit.cpp
View file @
d524e232
This diff is collapsed.
Click to expand it.
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