Copy link to clipboard
Copied
Hi,
I would like to use Boost json library in our sdk plugin for InDesign. I understand that this library is not part of the default boost libraries shipped with InDesign.
So, I would like to know what is the recommended way of using Boost JSON library in our plugins and keeping the version in sync with each release of the SDK?
BTW, how can I tell which version of boost is being used a given version of the plugin sdk?
Thanks
There's been some discussion about this in the InDesign Developers Prerelease recently:
We have managed to push out the boost upgrade(from 1.72 to 1.74) to the 18.5 release. 18.4 release will also be based on the old boost i.e. 1.72.
Copy link to clipboard
Copied
BTW, how can I tell which version of boost is being used a given version of the plugin sdk?
By @asaxena
In the SDK if you traverse to the path
<SDK Base Path>/external/dva/third_party/boost_libraries/boost you can check the version.hpp this would give you the version of boost shipped with the SDK. For JSON parsing I see a folder at
<SDK Base Path>/external/dva/third_party/boost_libraries/boost/property_tree/json_parser
For JSON you could also look at something like the following, the best part about this is that it is a single header file to include in your project and you are all set to go.
https://github.com/nlohmann/json
-Manan
Copy link to clipboard
Copied
There's been some discussion about this in the InDesign Developers Prerelease recently:
We have managed to push out the boost upgrade(from 1.72 to 1.74) to the 18.5 release. 18.4 release will also be based on the old boost i.e. 1.72.
Copy link to clipboard
Copied
Incase boost json not working. You may refer to other json parser.
try RapidJson for C++ -
- Rahul Rastogi
InDependent Adobe InDesign C++ Plugin Developer
iZine Solutions