• 1 vote
    IMO, empty strings in the API fields should be treated as if the field is null/does not exist. In golang, you can add a tag to the JSON parser called omitifempty, meaning it will just delete the field if its value is empty. Not sure if something similar exists in Rust.