Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
畅游知识海洋
json
提交
9e3c4ad1
J
json
项目概览
畅游知识海洋
/
json
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
json
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
9e3c4ad1
编写于
12月 17, 2017
作者:
N
Niels Lohmann
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
🔖
set version to 3.0.0
上级
314e4e76
变更
47
展开全部
隐藏空白更改
内联
并排
Showing
47 changed file
with
451 addition
and
56 deletion
+451
-56
CMakeLists.txt
CMakeLists.txt
+1
-1
ChangeLog.md
ChangeLog.md
+396
-1
doc/Doxyfile
doc/Doxyfile
+1
-1
doc/examples/meta.output
doc/examples/meta.output
+5
-5
doc/index.md
doc/index.md
+1
-1
doc/json.gif
doc/json.gif
+0
-0
src/json.hpp
src/json.hpp
+3
-3
test/src/fuzzer-driver_afl.cpp
test/src/fuzzer-driver_afl.cpp
+1
-1
test/src/fuzzer-parse_cbor.cpp
test/src/fuzzer-parse_cbor.cpp
+1
-1
test/src/fuzzer-parse_json.cpp
test/src/fuzzer-parse_json.cpp
+1
-1
test/src/fuzzer-parse_msgpack.cpp
test/src/fuzzer-parse_msgpack.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-cbor.cpp
test/src/unit-cbor.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-meta.cpp
test/src/unit-meta.cpp
+5
-5
test/src/unit-modifiers.cpp
test/src/unit-modifiers.cpp
+1
-1
test/src/unit-msgpack.cpp
test/src/unit-msgpack.cpp
+1
-1
test/src/unit-noexcept.cpp
test/src/unit-noexcept.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-udt.cpp
test/src/unit-udt.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
未找到文件。
CMakeLists.txt
浏览文件 @
9e3c4ad1
...
@@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.0.0)
...
@@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.0.0)
## PROJECT
## PROJECT
## name and version
## name and version
##
##
project
(
nlohmann_json VERSION
2.1.1
LANGUAGES CXX
)
project
(
nlohmann_json VERSION
3.0.0
LANGUAGES CXX
)
##
##
## OPTIONS
## OPTIONS
...
...
ChangeLog.md
浏览文件 @
9e3c4ad1
此差异已折叠。
点击以展开。
doc/Doxyfile
浏览文件 @
9e3c4ad1
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
#---------------------------------------------------------------------------
#---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8
DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = "JSON for Modern C++"
PROJECT_NAME = "JSON for Modern C++"
PROJECT_NUMBER =
2.1.1
PROJECT_NUMBER =
3.0.0
PROJECT_BRIEF =
PROJECT_BRIEF =
PROJECT_LOGO =
PROJECT_LOGO =
OUTPUT_DIRECTORY = .
OUTPUT_DIRECTORY = .
...
...
doc/examples/meta.output
浏览文件 @
9e3c4ad1
...
@@ -2,16 +2,16 @@
...
@@ -2,16 +2,16 @@
"compiler": {
"compiler": {
"c++": "201103",
"c++": "201103",
"family": "clang",
"family": "clang",
"version": "9.0.0 (clang-900.0.3
7
)"
"version": "9.0.0 (clang-900.0.3
9.2
)"
},
},
"copyright": "(C) 2013-2017 Niels Lohmann",
"copyright": "(C) 2013-2017 Niels Lohmann",
"name": "JSON for Modern C++",
"name": "JSON for Modern C++",
"platform": "apple",
"platform": "apple",
"url": "https://github.com/nlohmann/json",
"url": "https://github.com/nlohmann/json",
"version": {
"version": {
"major":
2
,
"major":
3
,
"minor":
1
,
"minor":
0
,
"patch":
1
,
"patch":
0
,
"string": "
2.1.1
"
"string": "
3.0.0
"
}
}
}
}
doc/index.md
浏览文件 @
9e3c4ad1
...
@@ -278,4 +278,4 @@ The container functions known from STL have been extended to support the differe
...
@@ -278,4 +278,4 @@ The container functions known from STL have been extended to support the differe
@author
[
Niels Lohmann
](
http://nlohmann.me
)
@author
[
Niels Lohmann
](
http://nlohmann.me
)
@see https://github.com/nlohmann/json to download the source code
@see https://github.com/nlohmann/json to download the source code
@version
2.1.1
@version
3.0.0
doc/json.gif
查看替换文件 @
314e4e76
浏览文件 @
9e3c4ad1
1.4 MB
|
W:
|
H:
1.4 MB
|
W:
|
H:
2-up
Swipe
Onion skin
src/json.hpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++
__| | __| | | | JSON for Modern C++
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
@@ -7499,7 +7499,7 @@ class basic_json
...
@@ -7499,7 +7499,7 @@ class basic_json
result
[
"url"
]
=
"https://github.com/nlohmann/json"
;
result
[
"url"
]
=
"https://github.com/nlohmann/json"
;
result
[
"version"
]
=
result
[
"version"
]
=
{
{
{
"string"
,
"
2.1.1"
},
{
"major"
,
2
},
{
"minor"
,
1
},
{
"patch"
,
1
}
{
"string"
,
"
3.0.0"
},
{
"major"
,
3
},
{
"minor"
,
0
},
{
"patch"
,
0
}
};
};
#ifdef _WIN32
#ifdef _WIN32
...
@@ -8119,7 +8119,7 @@ class basic_json
...
@@ -8119,7 +8119,7 @@ class basic_json
object
=
nullptr
;
// silence warning, see #821
object
=
nullptr
;
// silence warning, see #821
if
(
JSON_UNLIKELY
(
t
==
value_t
::
null
))
if
(
JSON_UNLIKELY
(
t
==
value_t
::
null
))
{
{
JSON_THROW
(
other_error
::
create
(
500
,
"961c151d2e87f2686a955a9be24d316f1362bf21
2.1.1
"
));
// LCOV_EXCL_LINE
JSON_THROW
(
other_error
::
create
(
500
,
"961c151d2e87f2686a955a9be24d316f1362bf21
3.0.0
"
));
// LCOV_EXCL_LINE
}
}
break
;
break
;
}
}
...
...
test/src/fuzzer-driver_afl.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (fuzz test support)
__| | __| | | | JSON for Modern C++ (fuzz test support)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
This file implements a driver for American Fuzzy Lop (afl-fuzz). It relies on
This file implements a driver for American Fuzzy Lop (afl-fuzz). It relies on
...
...
test/src/fuzzer-parse_cbor.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (fuzz test support)
__| | __| | | | JSON for Modern C++ (fuzz test support)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
This file implements a parser test suitable for fuzz testing. Given a byte
This file implements a parser test suitable for fuzz testing. Given a byte
...
...
test/src/fuzzer-parse_json.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (fuzz test support)
__| | __| | | | JSON for Modern C++ (fuzz test support)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
This file implements a parser test suitable for fuzz testing. Given a byte
This file implements a parser test suitable for fuzz testing. Given a byte
...
...
test/src/fuzzer-parse_msgpack.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (fuzz test support)
__| | __| | | | JSON for Modern C++ (fuzz test support)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
This file implements a parser test suitable for fuzz testing. Given a byte
This file implements a parser test suitable for fuzz testing. Given a byte
...
...
test/src/unit-algorithms.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-allocator.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-capacity.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-cbor.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-class_const_iterator.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-class_iterator.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-class_lexer.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-class_parser.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-comparison.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-concepts.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-constructor1.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-constructor2.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-convenience.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-conversions.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-deserialization.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-element_access1.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-element_access2.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-inspection.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-iterator_wrapper.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-iterators1.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-iterators2.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-json_patch.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-json_pointer.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-meta.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
@@ -42,10 +42,10 @@ TEST_CASE("version information")
...
@@ -42,10 +42,10 @@ TEST_CASE("version information")
CHECK
(
j
[
"url"
]
==
"https://github.com/nlohmann/json"
);
CHECK
(
j
[
"url"
]
==
"https://github.com/nlohmann/json"
);
CHECK
(
j
[
"version"
]
==
json
(
CHECK
(
j
[
"version"
]
==
json
(
{
{
{
"string"
,
"
2.1.1
"
},
{
"string"
,
"
3.0.0
"
},
{
"major"
,
2
},
{
"major"
,
3
},
{
"minor"
,
1
},
{
"minor"
,
0
},
{
"patch"
,
1
}
{
"patch"
,
0
}
}));
}));
CHECK
(
j
.
find
(
"platform"
)
!=
j
.
end
());
CHECK
(
j
.
find
(
"platform"
)
!=
j
.
end
());
...
...
test/src/unit-modifiers.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-msgpack.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-noexcept.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-pointer_access.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-readme.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-reference_access.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-regression.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-serialization.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-testsuites.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-udt.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit-unicode.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
test/src/unit.cpp
浏览文件 @
9e3c4ad1
/*
/*
__ _____ _____ _____
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version
2.1.1
| | |__ | | | | | | version
3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录