Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
畅游知识海洋
json
提交
700977d7
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,发现更多精彩内容 >>
提交
700977d7
编写于
11月 02, 2016
作者:
N
Niels
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
version bump
上级
79015b9d
变更
41
隐藏空白更改
内联
并排
Showing
41 changed file
with
49 addition
and
41 deletion
+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
未找到文件。
CMakeLists.txt
浏览文件 @
700977d7
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
浏览文件 @
700977d7
# 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
浏览文件 @
700977d7
...
...
@@ -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
浏览文件 @
700977d7
...
...
@@ -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
浏览文件 @
700977d7
<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
浏览文件 @
700977d7
...
...
@@ -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
查看替换文件 @
79015b9d
浏览文件 @
700977d7
444.1 KB
|
W:
|
H:
444.2 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/json.hpp
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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
浏览文件 @
700977d7
/*
__ _____ _____ _____
__| | __| | | | 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>.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录