File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ int main()
114114}
115115```
116116
117- ##Example 1B
117+ ## Example 1B
118118An alternatvie to deriving. Does not handle polymorphic structs.
119119Especially useful for structs, you did not create.
120120``` C++
@@ -240,10 +240,10 @@ int main()
240240```
241241
242242## Useful Utility
243- ### JSON::Base64 <T > mem;
243+ ### JSON::Base64 < T> mem;
244244mem will be handled as a base64 string. useful if mem can contain any character or binary sequence, including quotes.
245245
246- ### fill_missing
246+ ### JSON:: fill_missing
247247``` C++
248248auto tree = JSON::parse_json(str); // str contains some JSON.
249249JSON::fill_missing <MyJsonType> (" " , tree); // missing members in the tree of MyJsonType get default constructed.
You can’t perform that action at this time.
0 commit comments