Since we already depend on serde anyway, adding serialize allows for easy dumping of messages as JSON for quick debugging, which should be nicer than staring at raw tag integers.
While at it, I made FieldTag::from_tag_num public, which is also quite useful for looking up tag IDs when debugging without looking it up in XML.
Since we already depend on serde anyway, adding serialize allows for easy dumping of messages as JSON for quick debugging, which should be nicer than staring at raw tag integers.
While at it, I made
FieldTag::from_tag_num
public, which is also quite useful for looking up tag IDs when debugging without looking it up in XML.