• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
2

Using Boost Json library with InDesign SDK

Contributor ,
Jun 15, 2023 Jun 15, 2023

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

TOPICS
SDK

Views

258

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Jun 16, 2023 Jun 16, 2023

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.

Votes

Translate

Translate
Community Expert ,
Jun 15, 2023 Jun 15, 2023

Copy link to clipboard

Copied

quote

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

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 16, 2023 Jun 16, 2023

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jul 12, 2023 Jul 12, 2023

Copy link to clipboard

Copied

LATEST

Incase boost json not working. You may refer to other json parser.

try RapidJson for C++ -

https://rapidjson.org/

 

- Rahul Rastogi

InDependent Adobe InDesign C++ Plugin Developer

iZine Solutions

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines