Clicky

Creating a simple Boost JSON configuration reader

Jan 10, 2016


This week, I had a need for a simple JSON reader.  I have re-used this pattern several times now so I figured that I would share it now. 

Header file: JsonConfig.hpp

Source file: JsonConfig.cpp

This file uses the Boost property tree object to do the configuration parsing.  An example consumer of this code is:

BOOM, that was easy!