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 Microsofts REST SDK includes a JSON library as well (http://casablanca.codeplex.com). There are at least 15 other C++ libraries like that and we dont 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 years GSoC mentioning further desirable properties of a JSON library: http://boost.2283326.n4.nabble.com/JSON-Parser-GSoC-2013-td4645117.html
-- Dr. Sebastian Theophil | stheophil_at_[hidden] Senior Software Engineer We are looking for C++ Developers: http://www.think-cell.com/career think-cell Software GmbH | Chausseestr. 8/E | 10115 Berlin | Germany http://www.think-cell.com | 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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk