ugorji / go

idiomatic codec and rpc lib for msgpack, cbor, json, etc. msgpack.org[Go]
MIT License
1.86k stars 295 forks source link

XML support #114

Open ugorji opened 9 years ago

ugorji commented 9 years ago

go-codec currently supports

For completeness, it should support XML also.

Though XML has fallen out-of-favor, it is still widely used. The encoding/xml in the standard library is not efficient, and does not conform to the simplicity used in encoding/json. We have a chance to add a performant XML encoder/decoder as just another format.

We are attempting this due to perceived issues with encoding/xml:

codec framework will offer the following benefits

go-codec is not a drop-in replacement for encoding/xml, as the tags and style will not transfer over. Having said that, it is a replacement, based on the simplicity and performance of codec.

The goal is for this to be like JAXB for Go.

2opremio commented 8 years ago

+1. This could get us up to a 7% speedup in the Scope probes without making any investments since we are already using your library and codecgen.