config_struct
config_struct copied to clipboard
A way to customize the struct's generated
json_typegen!("pub Point", "http://example.com/someapi/point.json", { use_default_for_missing_fields, "/foo/bar": { use_type: "map" } });
Similar to how this tool does it https://github.com/evestera/json_typegen/blob/master/README.md