You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most JSON data that people work with in practice has a known structure, so it's suitable for parsing into a user-defined data structure—which tends to result in clearer, more robust code—rather than using serde_json::Value. However, the main README places the "Operating on untyped JSON values" section before the "Parsing JSON as strongly typed data structures", which emphasizes the untyped approach. I suggest switching the order of these sections to encourage new users to take the strongly-typed approach.
The text was updated successfully, but these errors were encountered:
Most JSON data that people work with in practice has a known structure, so it's suitable for parsing into a user-defined data structure—which tends to result in clearer, more robust code—rather than using
serde_json::Value
. However, the main README places the "Operating on untyped JSON values" section before the "Parsing JSON as strongly typed data structures", which emphasizes the untyped approach. I suggest switching the order of these sections to encourage new users to take the strongly-typed approach.The text was updated successfully, but these errors were encountered: