Provide serialization and de-serialization of different formats based on Google’s protobuf Message. Enables overriding the default (byte array) output to text based formats such as XML, JSON and HTML.
BSD 3-Clause "New" or "Revised" License
152
stars
97
forks
source link
Escape / Unescape bytes are not perfect inverses #28
Escaping a ByteString (JavaFormat.escapeBytes(...)) produces a String that does not always get unescaped back to an equivalent of the original ByteString via JavaFormat.unescapeBytes(...). See pull request #27 for a test that demonstrates this.
Escaping a ByteString (JavaFormat.escapeBytes(...)) produces a String that does not always get unescaped back to an equivalent of the original ByteString via JavaFormat.unescapeBytes(...). See pull request #27 for a test that demonstrates this.