Can you map serde_json names to different struct values?
In the serde_json library, is it possible to parse json and map one property name to a different property name in the Rust struct? For example, parse this json: { "json_name": 3 } into this struct: StructName { struct_name: 3 } Notice that "json_name" and "struct_name" are different. >Solution : You can use a field… Read More Can you map serde_json names to different struct values?