[![JSON for Modern C++](https://raw.githubusercontent.com/nlohmann/json/master/doc/json.gif)](https://github.com/nlohmann/json/releases)
[![Build Status](https://app.travis-ci.com/nlohmann/json.svg?branch=develop)](https://app.travis-ci.com/nlohmann/json)
[![Build Status](https://ci.appveyor.com/api/projects/status/1acb366xfyg3qybk/branch/develop?svg=true)](https://ci.appveyor.com/project/nlohmann/json)
[![Ubuntu](https://github.com/nlohmann/json/workflows/Ubuntu/badge.svg)](https://github.com/nlohmann/json/actions?query=workflow%3AUbuntu)
[![macOS](https://github.com/nlohmann/json/workflows/macOS/badge.svg)](https://github.com/nlohmann/json/actions?query=workflow%3AmacOS)
[![Windows](https://github.com/nlohmann/json/workflows/Windows/badge.svg)](https://github.com/nlohmann/json/actions?query=workflow%3AWindows)
[![Coverage Status](https://coveralls.io/repos/github/nlohmann/json/badge.svg?branch=develop)](https://coveralls.io/github/nlohmann/json?branch=develop)
[![Coverity Scan Build Status](https://scan.coverity.com/projects/5550/badge.svg)](https://scan.coverity.com/projects/nlohmann-json)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/e0d1a9d5d6fd46fcb655c4cb930bb3e8)](https://www.codacy.com/gh/nlohmann/json/dashboard?utm_source=github.com&utm_medium=referral&utm_content=nlohmann/json&utm_campaign=Badge_Grade)
[![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/nlohmann/json.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/nlohmann/json/context:cpp)
[![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/json.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:json)
[![Try online](https://img.shields.io/badge/try-online-blue.svg)](https://wandbox.org/permlink/7p8sQckddTc0Y81T)
[![Documentation](https://img.shields.io/badge/docs-doxygen-blue.svg)](https://nlohmann.github.io/json/doxygen/index.html)
[![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)
[![GitHub Downloads](https://img.shields.io/github/downloads/nlohmann/json/total)](https://github.com/nlohmann/json/releases)
[![GitHub Issues](https://img.shields.io/github/issues/nlohmann/json.svg)](https://github.com/nlohmann/json/issues)
[![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/nlohmann/json.svg)](https://isitmaintained.com/project/nlohmann/json "Average time to resolve an issue")
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/289/badge)](https://bestpractices.coreinfrastructure.org/projects/289)
[![GitHub Sponsors](https://img.shields.io/badge/GitHub-Sponsors-ff69b4)](https://github.com/sponsors/nlohmann)
- [Design goals](#design-goals)
- [Sponsors](#sponsors)
- [Support](#support) ([documentation](https://json.nlohmann.me), [FAQ](http://127.0.0.1:8000/home/faq/), [discussions](https://github.com/nlohmann/json/discussions), [API](https://json.nlohmann.me/api/basic_json/), [bug issues](https://github.com/nlohmann/json/issues))
- [Examples](#examples)
- [JSON as first-class data type](#json-as-first-class-data-type)
- [Serialization / Deserialization](#serialization--deserialization)
- [STL-like access](#stl-like-access)
- [Conversion from STL containers](#conversion-from-stl-containers)
- [JSON Pointer and JSON Patch](#json-pointer-and-json-patch)
- [JSON Merge Patch](#json-merge-patch)
- [Implicit conversions](#implicit-conversions)
- [Conversions to/from arbitrary types](#arbitrary-types-conversions)
- [Specializing enum conversion](#specializing-enum-conversion)
- [Binary formats (BSON, CBOR, MessagePack, and UBJSON)](#binary-formats-bson-cbor-messagepack-and-ubjson)
- [Supported compilers](#supported-compilers)
- [Integration](#integration)
- [CMake](#cmake)
- [Package Managers](#package-managers)
- [Pkg-config](#pkg-config)
- [License](#license)
- [Contact](#contact)
- [Thanks](#thanks)
- [Used third-party tools](#used-third-party-tools)
- [Projects using JSON for Modern C++](#projects-using-json-for-modern-c)
- [Notes](#notes)
- [Execute unit tests](#execute-unit-tests)
## Design goals
There are myriads of [JSON](https://json.org) libraries out there, and each may even have its reason to exist. Our class had these design goals:
- **Intuitive syntax**. In languages such as Python, JSON feels like a first class data type. We used all the operator magic of modern C++ to achieve the same feeling in your code. Check out the [examples below](#examples) and you'll know what I mean.
- **Trivial integration**. Our whole code consists of a single header file [`json.hpp`](https://github.com/nlohmann/json/blob/develop/single_include/nlohmann/json.hpp). That's it. No library, no subproject, no dependencies, no complex build system. The class is written in vanilla C++11. All in all, everything should require no adjustment of your compiler flags or project settings.
- **Serious testing**. Our class is heavily [unit-tested](https://github.com/nlohmann/json/tree/develop/test/src) and covers [100%](https://coveralls.io/r/nlohmann/json) of the code, including all exceptional behavior. Furthermore, we checked with [Valgrind](https://valgrind.org) and the [Clang Sanitizers](https://clang.llvm.org/docs/index.html) that there are no memory leaks. [Google OSS-Fuzz](https://github.com/google/oss-fuzz/tree/master/projects/json) additionally runs fuzz tests against all parsers 24/7, effectively executing billions of tests so far. To maintain high quality, the project is following the [Core Infrastructure Initiative (CII) best practices](https://bestpractices.coreinfrastructure.org/projects/289).
Other aspects were not so important to us:
- **Memory efficiency**. Each JSON object has an overhead of one pointer (the maximal size of a union) and one enumeration element (1 byte). The default generalization uses the following C++ data types: `std::string` for strings, `int64_t`, `uint64_t` or `double` for numbers, `std::map` for objects, `std::vector` for arrays, and `bool` for Booleans. However, you can template the generalized class `basic_json` to your needs.
- **Speed**. There are certainly [faster JSON libraries](https://github.com/miloyip/nativejson-benchmark#parsing-time) out there. However, if your goal is to speed up your development by adding JSON support with a single header, then this library is the way to go. If you know how to use a `std::vector` or `std::map`, you are already set.
See the [contribution guidelines](https://github.com/nlohmann/json/blob/master/.github/CONTRIBUTING.md#please-dont) for more information.
## Sponsors
You can sponsor this library at [GitHub Sponsors](https://github.com/sponsors/nlohmann).
### :label: Named Sponsors
- [Michael Hartmann](https://github.com/reFX-Mike)
- [Stefan Hagen](https://github.com/sthagen)
- [Steve Sperandeo](https://github.com/homer6)
- [Robert Jefe Lindstädt](https://github.com/eljefedelrodeodeljefe)
- [Steve Wagner](https://github.com/ciroque)
Thanks everyone!
## Support
:question: If you have a **question**, please check if it is already answered in the [**FAQ**](https://json.nlohmann.me/home/faq/) or the [**Q&A**](https://github.com/nlohmann/json/discussions/categories/q-a) section. If not, please [**ask a new question**](https://github.com/nlohmann/json/discussions/new) there.
:books: If you want to **learn more** about how to use the library, check out the rest of the [**README**](#examples), have a look at [**code examples**](https://github.com/nlohmann/json/tree/develop/doc/examples), or browse through the [**help pages**](https://json.nlohmann.me).
:construction: If you want to understand the **API** better, check out the [**API Reference**](https://json.nlohmann.me/api/basic_json/) or the [**Doxygen documentation**](https://json.nlohman
没有合适的资源?快使用搜索试试~ 我知道了~
H266-VVC源代码解析-视频编解码
共300个文件
cpp:124个
h:115个
cfg:17个
需积分: 19 8 下载量 182 浏览量
2022-10-25
13:39:13
上传
评论 1
收藏 1.76MB ZIP 举报
温馨提示
H266-VVC源代码解析-视频编解码
资源推荐
资源详情
资源评论
收起资源包目录
H266-VVC源代码解析-视频编解码 (300个子文件)
vvencinterfacetest.c 9KB
CITATION.cff 405B
randomaccess_slower.cfg 20KB
randomaccess_fast.cfg 20KB
randomaccess_faster.cfg 20KB
randomaccess_medium_lowDecEnergy.cfg 20KB
randomaccess_medium.cfg 20KB
randomaccess_slow.cfg 20KB
randomaccess_tooltest.cfg 20KB
lowdelay_fast.cfg 12KB
lowdelay_faster.cfg 12KB
lowdelay_slower.cfg 12KB
lowdelay_slow.cfg 12KB
lowdelay_medium.cfg 12KB
RTn23.cfg 766B
sequence.cfg 731B
rc2p.cfg 426B
rc1p.cfg 426B
qpa.cfg 133B
vvencInstall.cmake 4KB
aarch64-linux-gnu-gcc-ubuntu1804.cmake 2KB
aarch64-linux-gnu-gcc-ubuntu2004.cmake 2KB
aarch64-linux-gnu-gcc-ubuntu1604.cmake 2KB
x86_64-w64-mingw32-gcc-posix-ubuntu2004.cmake 1KB
x86_64-w64-mingw32-gcc-posix-ubuntu1804.cmake 1KB
x86_64-w64-mingw32-gcc-posix-ubuntu1604.cmake 1KB
i686-w64-mingw32-gcc-posix-ubuntu1604.cmake 1KB
vvencConfig.cmake 809B
vvencNumCores.cmake 113B
Rom.cpp 581KB
EncAdaptiveLoopFilter.cpp 237KB
InterSearch.cpp 233KB
vvencCfg.cpp 159KB
EncCu.cpp 145KB
VLCReader.cpp 137KB
TrQuant_EMT.cpp 121KB
UnitTools.cpp 112KB
EncGOP.cpp 98KB
VLCWriter.cpp 97KB
IntraSearch.cpp 97KB
CABACWriter.cpp 97KB
CABACReader.cpp 92KB
Slice.cpp 77KB
RdCost.cpp 74KB
DecLib.cpp 74KB
InterPrediction.cpp 72KB
SEIread.cpp 71KB
QuantRDOQ.cpp 70KB
DepQuant.cpp 67KB
LoopFilter.cpp 67KB
IntraPrediction.cpp 59KB
AdaptiveLoopFilter.cpp 56KB
EncSlice.cpp 55KB
QuantRDOQ2.cpp 49KB
RomTr.cpp 47KB
EncReshape.cpp 44KB
Buffer.cpp 42KB
EncModeCtrl.cpp 41KB
RateCtrl.cpp 40KB
SEIwrite.cpp 40KB
MCTF.cpp 39KB
vvenclibtest.cpp 39KB
GOPCfg.cpp 36KB
InterpolationFilter.cpp 35KB
TrQuant.cpp 35KB
CodingStructure.cpp 35KB
EncSampleAdaptiveOffset.cpp 35KB
BitAllocation.cpp 33KB
UnitPartitioner.cpp 32KB
Quant.cpp 32KB
Contexts.cpp 29KB
SampleAdaptiveOffset.cpp 24KB
vvencimpl.cpp 23KB
DecCu.cpp 22KB
SEIEncoder.cpp 21KB
EncLib.cpp 20KB
Picture.cpp 18KB
Unit.cpp 17KB
ContextModelling.cpp 17KB
EncApp.cpp 17KB
EncPicture.cpp 16KB
vvencapp.cpp 15KB
BitStream.cpp 12KB
BinEncoder.cpp 12KB
MatrixIntraPrediction.cpp 12KB
vvenc.cpp 11KB
Reshape.cpp 11KB
dtrace.cpp 10KB
PicYuvMD5.cpp 10KB
ProfileLevelTier.cpp 10KB
BinDecoder.cpp 10KB
StatCounter.cpp 9KB
DecSlice.cpp 9KB
InitX86.cpp 8KB
CommonDefX86.cpp 8KB
NoMallocThreadPool.cpp 8KB
AnnexBread.cpp 7KB
AffineGradientSearch.cpp 7KB
EncHRD.cpp 7KB
NALread.cpp 6KB
共 300 条
- 1
- 2
- 3
资源评论
董晨001
- 粉丝: 2
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功