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
7c579f11
Commit
7c579f11
authored
Jun 13, 2015
by
Niels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some cleanup after #87
parent
a8339894
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
195 additions
and
198 deletions
+195
-198
.gitignore
.gitignore
+1
-4
src/json.hpp
src/json.hpp
+188
-188
src/json.hpp.re2c
src/json.hpp.re2c
+6
-6
No files found.
.gitignore
View file @
7c579f11
json_unit
html
benchmark
json_benchmarks
working
src/json.hpp
View file @
7c579f11
This diff is collapsed.
Click to expand it.
src/json.hpp.re2c
View file @
7c579f11
...
...
@@ -469,7 +469,7 @@ class basic_json
/// create a container (array or object) from an initializer list
basic_json(list_init_t init, bool type_deduction = true,
value_t manual_type = value_t::array)
value_t manual_type = value_t::array)
{
// the initializer list could describe an object
bool is_object = true;
...
...
@@ -2175,7 +2175,7 @@ class basic_json
@param currentIndent the current indent level (only used internally)
*/
void dump(std::ostream& o, const bool prettyPrint, const unsigned int indentStep,
const unsigned int currentIndent = 0) const noexcept
const unsigned int currentIndent = 0) const noexcept
{
// variable to hold indentation for recursive calls
auto new_indent = currentIndent;
...
...
@@ -3398,8 +3398,8 @@ class basic_json
{
public:
reverse_iterator(const typename
std::reverse_iterator<typename basic_json::iterator>::iterator_type&
it)
std::reverse_iterator<typename basic_json::iterator>::iterator_type&
it)
: std::reverse_iterator<basic_json::iterator>(it) {}
/// return the key of an object iterator
...
...
@@ -3420,7 +3420,7 @@ class basic_json
{
public:
const_reverse_iterator(const typename
std::reverse_iterator<typename basic_json::const_iterator>::iterator_type& it)
std::reverse_iterator<typename basic_json::const_iterator>::iterator_type& it)
: std::reverse_iterator<basic_json::const_iterator>(it) {}
/// return the key of an object iterator
...
...
@@ -3506,7 +3506,7 @@ class basic_json
@see <http://en.wikipedia.org/wiki/UTF-8#Sample_code>
*/
static string_t to_unicode(const std::size_t codepoint1,
const std::size_t codepoint2 = 0)
const std::size_t codepoint2 = 0)
{
string_t result;
...
...
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