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
6d2b5e37
Commit
6d2b5e37
authored
Nov 02, 2016
by
Niels
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release/2.0.7' into develop
parents
79015b9d
700977d7
Changes
41
Hide whitespace changes
Inline
Side-by-side
Showing
41 changed files
with
49 additions
and
41 deletions
+49
-41
CMakeLists.txt
CMakeLists.txt
+1
-1
ChangeLog.md
ChangeLog.md
+9
-1
README.md
README.md
+2
-2
doc/Doxyfile
doc/Doxyfile
+1
-1
doc/examples/README.link
doc/examples/README.link
+1
-1
doc/index.md
doc/index.md
+1
-1
doc/json.gif
doc/json.gif
+0
-0
src/json.hpp
src/json.hpp
+1
-1
src/json.hpp.re2c
src/json.hpp.re2c
+1
-1
test/src/fuzz.cpp
test/src/fuzz.cpp
+1
-1
test/src/unit-algorithms.cpp
test/src/unit-algorithms.cpp
+1
-1
test/src/unit-allocator.cpp
test/src/unit-allocator.cpp
+1
-1
test/src/unit-capacity.cpp
test/src/unit-capacity.cpp
+1
-1
test/src/unit-class_const_iterator.cpp
test/src/unit-class_const_iterator.cpp
+1
-1
test/src/unit-class_iterator.cpp
test/src/unit-class_iterator.cpp
+1
-1
test/src/unit-class_lexer.cpp
test/src/unit-class_lexer.cpp
+1
-1
test/src/unit-class_parser.cpp
test/src/unit-class_parser.cpp
+1
-1
test/src/unit-comparison.cpp
test/src/unit-comparison.cpp
+1
-1
test/src/unit-concepts.cpp
test/src/unit-concepts.cpp
+1
-1
test/src/unit-constructor1.cpp
test/src/unit-constructor1.cpp
+1
-1
test/src/unit-constructor2.cpp
test/src/unit-constructor2.cpp
+1
-1
test/src/unit-convenience.cpp
test/src/unit-convenience.cpp
+1
-1
test/src/unit-conversions.cpp
test/src/unit-conversions.cpp
+1
-1
test/src/unit-deserialization.cpp
test/src/unit-deserialization.cpp
+1
-1
test/src/unit-element_access1.cpp
test/src/unit-element_access1.cpp
+1
-1
test/src/unit-element_access2.cpp
test/src/unit-element_access2.cpp
+1
-1
test/src/unit-inspection.cpp
test/src/unit-inspection.cpp
+1
-1
test/src/unit-iterator_wrapper.cpp
test/src/unit-iterator_wrapper.cpp
+1
-1
test/src/unit-iterators1.cpp
test/src/unit-iterators1.cpp
+1
-1
test/src/unit-iterators2.cpp
test/src/unit-iterators2.cpp
+1
-1
test/src/unit-json_patch.cpp
test/src/unit-json_patch.cpp
+1
-1
test/src/unit-json_pointer.cpp
test/src/unit-json_pointer.cpp
+1
-1
test/src/unit-modifiers.cpp
test/src/unit-modifiers.cpp
+1
-1
test/src/unit-pointer_access.cpp
test/src/unit-pointer_access.cpp
+1
-1
test/src/unit-readme.cpp
test/src/unit-readme.cpp
+1
-1
test/src/unit-reference_access.cpp
test/src/unit-reference_access.cpp
+1
-1
test/src/unit-regression.cpp
test/src/unit-regression.cpp
+1
-1
test/src/unit-serialization.cpp
test/src/unit-serialization.cpp
+1
-1
test/src/unit-testsuites.cpp
test/src/unit-testsuites.cpp
+1
-1
test/src/unit-unicode.cpp
test/src/unit-unicode.cpp
+1
-1
test/src/unit.cpp
test/src/unit.cpp
+1
-1
No files found.
CMakeLists.txt
View file @
6d2b5e37
cmake_minimum_required
(
VERSION 3.0
)
# define the project
project
(
nlohmann_json VERSION 2.0.
6
LANGUAGES CXX
)
project
(
nlohmann_json VERSION 2.0.
7
LANGUAGES CXX
)
enable_testing
()
...
...
ChangeLog.md
View file @
6d2b5e37
# Change Log
All notable changes to this project will be documented in this file. This project adheres to
[
Semantic Versioning
](
http://semver.org/
)
.
## [v2.0.7](https://github.com/nlohmann/json/releases/tag/v2.0.7) (2016-11-02)
[
Full Changelog
](
https://github.com/nlohmann/json/compare/v2.0.6...v2.0.7
)
-
""-operators ignore the length parameter
[
\#340
](
https://github.com/nlohmann/json/issues/340
)
-
Check "Parsing JSON is a Minefield"
[
\#344
](
https://github.com/nlohmann/json/issues/344
)
-
fix minor grammar/style issue in README.md
[
\#336
](
https://github.com/nlohmann/json/pull/336
)
(
[seeekr](https://github.com/seeekr
)
)
## [v2.0.6](https://github.com/nlohmann/json/releases/tag/v2.0.6) (2016-10-15)
[
Full Changelog
](
https://github.com/nlohmann/json/compare/v2.0.5...v2.0.6
)
...
...
@@ -143,7 +152,6 @@ All notable changes to this project will be documented in this file. This projec
-
prevent json.hpp from emitting compiler warnings
[
\#154
](
https://github.com/nlohmann/json/issues/154
)
-
json::parse
\(
string
\)
does not check utf8 bom
[
\#152
](
https://github.com/nlohmann/json/issues/152
)
-
unsigned 64bit values output as signed
[
\#151
](
https://github.com/nlohmann/json/issues/151
)
-
Wish feature: json5
[
\#150
](
https://github.com/nlohmann/json/issues/150
)
-
overload of at
\(\)
with default value
[
\#133
](
https://github.com/nlohmann/json/issues/133
)
-
Memory leak in face of exceptions
[
\#118
](
https://github.com/nlohmann/json/issues/118
)
-
Find and Count for arrays
[
\#117
](
https://github.com/nlohmann/json/issues/117
)
...
...
README.md
View file @
6d2b5e37
...
...
@@ -3,7 +3,7 @@
[
![Build Status
](
https://travis-ci.org/nlohmann/json.svg?branch=master
)
](https://travis-ci.org/nlohmann/json)
[
![Build Status
](
https://ci.appveyor.com/api/projects/status/1acb366xfyg3qybk/branch/develop?svg=true
)
](https://ci.appveyor.com/project/nlohmann/json)
[
![Coverage Status
](
https://img.shields.io/coveralls/nlohmann/json.svg
)
](https://coveralls.io/r/nlohmann/json)
[
![Try online
](
https://img.shields.io/badge/try-online-blue.svg
)
](http://melpon.org/wandbox/permlink/
3BIhBw91FUVuHE1D
)
[
![Try online
](
https://img.shields.io/badge/try-online-blue.svg
)
](http://melpon.org/wandbox/permlink/
fsf5FqYe6GoX68W6
)
[
![Documentation
](
https://img.shields.io/badge/docs-doxygen-blue.svg
)
](http://nlohmann.github.io/json)
[
![GitHub license
](
https://img.shields.io/badge/license-MIT-blue.svg
)
](https://raw.githubusercontent.com/nlohmann/json/master/LICENSE.MIT)
[
![Github Releases
](
https://img.shields.io/github/release/nlohmann/json.svg
)
](https://github.com/nlohmann/json/releases)
...
...
@@ -522,7 +522,7 @@ To compile and run the tests, you need to execute
$
make check
===============================================================================
All tests passed
(
89054
79
assertions
in
36
test
cases
)
All tests passed
(
89054
91
assertions
in
36
test
cases
)
```
Alternatively, you can use
[
CMake
](
https://cmake.org
)
and run
...
...
doc/Doxyfile
View file @
6d2b5e37
...
...
@@ -5,7 +5,7 @@
#---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = "JSON for Modern C++"
PROJECT_NUMBER = 2.0.
6
PROJECT_NUMBER = 2.0.
7
PROJECT_BRIEF =
PROJECT_LOGO =
OUTPUT_DIRECTORY = .
...
...
doc/examples/README.link
View file @
6d2b5e37
<a target="_blank" href="http://melpon.org/wandbox/permlink/wvAQItW0g01kx5YJ"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="http://melpon.org/wandbox/permlink/fsf5FqYe6GoX68W6"><b>online</b></a>
\ No newline at end of file
doc/index.md
View file @
6d2b5e37
...
...
@@ -268,4 +268,4 @@ The container functions known from STL have been extended to support the differe
@author
[
Niels Lohmann
](
http://nlohmann.me
)
@see https://github.com/nlohmann/json to download the source code
@version 2.0.
6
@version 2.0.
7
doc/json.gif
View replaced file @
79015b9d
View file @
6d2b5e37
444 KB
|
W:
|
H:
444 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/json.hpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
src/json.hpp.re2c
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/fuzz.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (fuzz test support)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Run "make fuzz_testing" and follow the instructions.
...
...
test/src/unit-algorithms.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-allocator.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-capacity.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-class_const_iterator.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-class_iterator.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-class_lexer.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-class_parser.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-comparison.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-concepts.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-constructor1.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-constructor2.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-convenience.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-conversions.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-deserialization.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-element_access1.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-element_access2.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-inspection.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-iterator_wrapper.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-iterators1.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-iterators2.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-json_patch.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-json_pointer.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-modifiers.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-pointer_access.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-readme.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-reference_access.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-regression.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-serialization.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-testsuites.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-unicode.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit.cpp
View file @
6d2b5e37
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.0.
6
| | |__ | | | | | | version 2.0.
7
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
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