We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5913e66 commit 770e02cCopy full SHA for 770e02c
tutorials/migrate-v4.md
@@ -77,6 +77,7 @@ static Result<std::shared_ptr<SettingV3>> parse(std::string const&, std::string
77
* Accessing missing properties with `Value::operator[]` will now return a null value instead of throwing an exception
78
* Serialization methods have been changed:
79
* `T from_json(matjson::Value const&)` -> `Result<T> fromJson(matjson::Value const&)`
80
+ * **Make sure to return a Result!** much of the code relies on `fromJson` returning a Result.
81
* `matjson::Value to_json(T const& value)` -> `matjson::Value toJson(T const& value)`
82
* `is_json` is no longer used, instead just return an error in `fromJson`
83
* `bool Value::is<T>()` removed
0 commit comments