Z
Z
Z372014-05-25 02:49:58
API
Z37, 2014-05-25 02:49:58

Which JSON parser for C++ should I choose?

Please tell me, a JSON parser for C ++, preferably with an example of parsing some API.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
E
evnuh, 2014-05-25
@Z37

Sish lib jansson is considered fast , but she fundamentally does not want to support non-standard comments, but she has a Pull Request to support them, you can roll yourself.
Very cool documentation, you will quickly figure it out. It can also serialize to JSON.
Well, or if there is boost, then of course property_tree from it.

A
Artem, 2014-05-25
@Properrr

If there is no Boost, take jsoncpp.
Very comfortable;)

C
cyberzx, 2014-06-03
@cyberzx

I am using jsonsl streaming parser https://github.com/mnunberg/jsonsl
It is very simple and fast.

A
Anton Ku, 2014-05-25
@ieroglyph

My project was originally designed to use Boost, so I used JSON Spirit , I was satisfied. To be honest - the only parser that turned out to be assembled under Win without any shamanism without any experience in configuring build systems.

D
DancingOnWater, 2014-05-26
@DancingOnWater

I will add that there is support for JSON in Qt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question