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 377c767 commit c883fb0Copy full SHA for c883fb0
docs/mkdocs/docs/features/arbitrary_types.md
@@ -265,7 +265,7 @@ struct bad_serializer
265
}
266
267
template <typename BasicJsonType>
268
- static void to_json(const BasicJsonType& j, T& value) {
+ static void from_json(const BasicJsonType& j, T& value) {
269
// this calls BasicJsonType::json_serializer<T>::from_json(j, value);
270
// if BasicJsonType::json_serializer == bad_serializer ... oops!
271
value = j.template template get<T>(); // oops!
0 commit comments