java - Automated XML (de)serialization on Android? -
what enterprise-level options xml databinding on android?
it's possible i'm misusing term "databinding": i'm looking support automatic (de)serialization of java pojos & xml. in context of communicating rest services not have client package use.
initial research problem has demonstrated, surprise, accomplishing task on android has many barriers:
- the java-standard jaxb library isn't present on android
- the java-standard xml streaming package isn't present on android
- jackson xml doesn't work without xml streaming (or suspect workaround)
- simplexml isn't jax-rs compliant, requires pojo re-annotations, , worst: requires significant work handle non-trivial variety of common objects (eg; uuid, uri)
i'm quite surprised such common & trivial problem on other platforms leads feels dead-end.
the services i'm working in alpha state, not have stable domain model. before diving fragile world of sax parsers, pull parsers, and/or xpath & template, other options? enterprise-friendly libraries might have missed?
Comments
Post a Comment