Since field names are used as keys into a JSON object, there can't be multiple fields with the same name. This probably should've used a Set rather than a Vec, though that would be a breaking change now. We should either deduplicate field names or panic if there are multiple of the same name.
Since field names are used as keys into a JSON object, there can't be multiple fields with the same name. This probably should've used a Set rather than a Vec, though that would be a breaking change now. We should either deduplicate field names or panic if there are multiple of the same name.