Boost.PropertyTree is not a JSON library nor a XML library.It's a property tree library that happen to have functions to create JSON-compatible or XML compatible output
or read from one.
See:
There are apparently work in progress for an Boost JSON library but I don't have the details right now.
For the time being, maybe you can use JSonCPP or JSon Spirit libraries.