You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Thank you for the great work. I would like to know if there is (or will be) any support for having attributes in XML elements, instead of having separate XML entities for each message field.
Hello,
Thank you for the great work. I would like to know if there is (or will be) any support for having attributes in XML elements, instead of having separate XML entities for each message field.
Example:
I have the following .proto file:
When I use
new XmlFormat().printToString(addressBook)
, the output string looks like this:However, I would like to have the possibility to have some of the fields as attributes:
The second one is arguably more readable and more concise. So, is there (or will there be) any support for it in this library? Thanks!
The text was updated successfully, but these errors were encountered: