@propensive It uses a JAXB context with Jettison as the default JSON engine. I'd like to try a new engine if possible.
-
-
Replying to @cosmicvisitors
@cosmicvisitors Do you know what's involved in writing a "JSON engine"?1 reply 0 retweets 0 likes -
Replying to @propensive
@cosmicvisitors Is it a typeclass-like thing? It might be straightforward to wrap the Jettison one and provide a Rapture one, but note sure.1 reply 0 retweets 0 likes -
Replying to @propensive
@propensive basically, it should be a JAXB provider. There are tutorials on how to do this for e.g. Moxy, but haven't found any for Rapture?1 reply 0 retweets 0 likes -
Replying to @cosmicvisitors
@cosmicvisitors Yeah, there won't be any... Is JAXB basically an interface? Just looking for a spec now...1 reply 0 retweets 0 likes -
Replying to @propensive
@propensive wikipedia: Java Architecture for XML Binding (JAXB). It's basically a JDK mapper from POJO <-> XML/JSON/etc2 replies 0 retweets 0 likes -
-
Replying to @propensive
@propensive If Rapture could somehow register its interface with JAXB, it could replace other engines for JAXB serialisation2 replies 0 retweets 0 likes -
Replying to @cosmicvisitors
@cosmicvisitors I guess I don't really get what it means to "register its interface"... :(1 reply 0 retweets 0 likes -
Replying to @propensive
@propensive it's probably my fault at explaining this, it seems to be easy with other engines: http://www.mkyong.com/webservices/jax-rs/download-xml-file-from-jax-rs-with-jaxb-resteasy/ …3 replies 0 retweets 0 likes
@cosmicvisitors I think the problem is that I know nothing about Java any more! :(
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.