• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

anhero/JsonBox: This is a JSON C++ library. It can write and read JSON files wit ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

anhero/JsonBox

开源软件地址:

https://github.com/anhero/JsonBox

开源编程语言:

C++ 91.6%

开源软件介绍:

Json Box

JSON (JavaScript Object Notation) is a lightweight data-interchange format.

Json Box is a C++ library used to read and write JSON with ease and speed.

Things it does:

  • Follows the standards established on http://json.org/
  • Read and write JSON in UTF-8
  • Uses the STL streams for input and output
  • Generated JSON can be indented and pretty or compact and hard-to-read
  • Does not crash when the JSON input contains errors, it simply tries to interpret as much as it can

Things it does not do:

  • Read JSON in UTF-16 or UTF-32
  • Keep the order of the members in objects (the standard doesn't require keeping the order)
  • Write useful error messages when the JSON input contains errors

The library wasn't designed with multi-threading in mind.

The class reference can be found here.

Android

mkdir build
cd build && mkdir armeabi-v7a
cd armeabi-v7a
cmake -DCMAKE_SYSTEM_NAME=Android -DCMAKE_ANDROID_NDK=<android_ndk> \
        -DCMAKE_ANDROID_ARCH_ABI=armeabi-v7a -DCMAKE_ANDROID_STL_TYPE=c++_static \ 
        -DCMAKE_BUILD_TYPE=Release -DCMAKE_ANDROID_NDK_TOOLCHAIN_VERSION=clang \ 
        -DCMAKE_INSTALL_PREFIX=<android_ndk>/sources/third_party/JsonBox ../..
make install

You should replace <android_ndk> with the actual folder.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap