File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -293,11 +293,12 @@ Runnable example at https://godbolt.org/z/Efr7bK9jn
293293
294294---
295295
296- # Benefits
296+ # Benefits of our implementation
297297
298298- ** No manual field mapping**
299299- ** No maintenance burden**
300- - ** Handles nested structures automatically**
300+ - ** Handles nested and user-defined structures and containers automatically**
301+ - ** You can still customize things if you want**
301302- ** Performance tuned by the library**
302303
303304---
@@ -353,7 +354,7 @@ let player: Player = serde_json::from_str(&json_str)?;
353354
354355``` cpp
355356std::string json_str = simdjson::to_json(player);
356- Player player = simdjson::from<Player> (json_str);
357+ Player player = simdjson::from(json_str);
357358```
358359
359360- no extra tooling required
@@ -472,7 +473,7 @@ Just two functions. Infinite possibilities.
472473
473474``` cpp
474475simdjson::to_json (object) // → JSON string
475- simdjson::from< T > (json) // → T object
476+ simdjson::from(json) // → T object
476477```
477478
478479That's it.
You can’t perform that action at this time.
0 commit comments