JSON Serialization for C++

If you need a quick solution to serializing your data into JSON, you might consider using Boost’s property_tree.

The Boost support for this is a “header-only” library, so it’s very portable and requires no run time installation.  On top of that, the Boost distribution is excellent: clean, robust, and well-vetted.

I have a small GitHub project, FindingJsonCPlusPlus, that illustrates how the property_tree library can be used to generate JSON strings.

For help with JSON in C#, see my post Finding Json for C#; it points to its own associated GitHub project.

One thought on “JSON Serialization for C++

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s