I'm putting the finishing touches on a `moshi-xml`...
# http4k
a
I'm putting the finishing touches on a
moshi-xml
module; similar to
moshi-yaml
and
xml
in that they combine a higher-level mapper with a low-level implementation to get object mapping for previously unsupported formats. This will be useful for any http4k-connect-amazon modules that currently uses hand-crafted xml, since it can be combined with kotshi for non-reflecting mapping. But I'm making it right now for an ONVIF client/fake.
d
That's cool - but be aware that there are 2 styles of XML used in aws APIs / they differ mostly on how lists and attributes are serialised iirc
a
Yeah, I think that's usually taken care of by custom envelopes if you don't have the xml-oriented annotations availbale