Boost logo

Boost :

Subject: Re: [boost] [Re] [Re] JSON Parsing Library for GSoC 14
From: Sebastian Theophil (stheophil_at_[hidden])
Date: 2014-03-03 04:22:20

There are many libraries that parse JSON to maps and vectors. IIRC Microsoft’s REST SDK includes a JSON library as well ( There are at least 15 other C++ libraries like that and we don’t need to write another one.

But there are only two libraries AFAIK that parse JSON to C++ structs using serialization adaptors:


I consider the ability to read and write C++ structs essential for any library admitted to boost. Shouldn't such a library be an extension to boost.serialization?

Boost.Serialization already defines a way for each data structure to define which data should be written/read. The Boost.Serialization docs say that the library even offers methods & macros to output a class member together with its member variable name as a name value pair. Exactly what a JSON library would need.

There has been a discussion about last year’s GSoC mentioning further desirable properties of a JSON library:


Dr. Sebastian Theophil | stheophil_at_[hidden]
Senior Software Engineer
We are looking for C++ Developers:
think-cell Software GmbH | Chausseestr. 8/E | 10115 Berlin | Germany | phone +49 30 666473-10 | US phone +1 800 891 8091
Amtsgericht Berlin-Charlottenburg, HRB 85229 | European Union VAT Id DE813474306
Directors: Dr. Markus Hannebauer, Dr. Arno Schödl

Boost list run by bdawes at, gregod at, cpdaniel at, john at