boostorg / boostorg/json

Backwards compatibility? (new structure definitions but old json serialization)

オープン
#997 コメント 17 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
479
フォーク
110
平均マージ
10日 3時間
マージ済み PR(30日)
5

説明

What is the best way to achieve backward compatibility with boost json? My data structures has changed, but I still need to interact with json data generated by previous versions of my structs. What is the best way to achieve this? Any examples? Simply trying to invoke `boost::json::value_to` will throw an exception.

I'm using boost json and boost describe version 1.83.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。