<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi,<div><br></div><div>Thinking a bit more about this (read trying out some stuff). The way we want to change the API is right now is ‘just’ the message format, how about we take a servlet filter that changes the json from the old version to the new?</div><div><br></div><div>There is a lib [1] that takes a json and transforms it into another json.</div><div><br></div><div>Other option is to have 2 jax-rs classes, but to make that work they will have to have 2 different paths. So you would have to ‘redirect’ / change the path in the servlet filter based on the accept header. Which feels like kinda of a hack to me.</div><div><br></div><div>So WDYT any other suggestions?</div><div><br></div><div>Cheers,</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Erik Jan</div><div><br></div><div>[1]&nbsp;<a href="https://github.com/bazaarvoice/jolt">https://github.com/bazaarvoice/jolt</a></div></body></html>