Boost logo

Boost :

Subject: [boost] [Boost.serialization] - Json Serialization (Marshalling and unmarshalling)
From: Demetrio Car (demetrio.pepi_at_[hidden])
Date: 2011-09-02 17:07:53

I need some example of how to serialize/deserilize from Json format to
Object and from Object to Json. I used this example, but
it only serialize to a simple text. In my project, for other requirenments,
I am using boost library with success. I am almost sure that I do need some
other specific library like Json-Spirit or standard QT library
(QScriptEngine). Any simple example will be very appreciate.

This is an example of the Json files I must serialized to a class.

[{"DscTipoEstrutura":"Unidade de

Ps.: I found and similiar
to I need but, because I am C++ begnnier, I couldn't understand them neither
run the example after some couple of hours. I need some simple example.

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