Git Product home page Git Product logo

bakkjson's Introduction

C++用jsonライブラリ。
gcc 4.7.1なら多分動く。
コンパイルオプション-std=c++0xが必要。
適当な手入力でしかverifyしてない。

= picojsonと何が違う? =
おそらく、既存のC++用jsonライブラリと言えばpicojson。
picojsonとの違いは、、、

== 整数に対応 ==
jsonはsyntaxを規定しているのみなので、小数点や指数表記を含まないNumberを整数型と見做すというのはアリで、実際rubyやpythonの言語組み込みのjsonライブラリはそうなっている。
picojsonはそれをしていないので、{"hoge": 4}としたくても{"hoge": 4.00000}となってしまって個人的には不便だった。

== \uXXXXが未実装 ==
よくわからないので放置。

== 機能が少ない ==
そのかわり行数も少ない。

== 多分色々バグってる ==
細かい仕様はよくわからないので放置。
そもそもテストをほとんどしてないのでヤバい。

bakkjson's People

Contributors

kagemiku avatar wistery-k avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.