Johnzon doesnt filter these types, you can add it to the exclusion
configuring ConfigurableJohnzonProvider in openejb-jar.xml but the best
alternative is to set the right response type to TEXT_PLAIN instead of JSON.


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2016-05-31 15:25 GMT+02:00 tam <[email protected]>:

> It's a Long. With the old libraries I used, this is put into the response,
> and neither client nor server complain because it's not JSON. Firebug tells
> me the response header says
>
> Content-length 3,
>
> Content-Type application/json,
>
> and the content is 101.
>
> Admittedly, that's not JSON, but why did the old libraries I used accept
> that and the new ones don't?
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/JsonGenerationException-after-migrating-to-7-0-0-tp4678684p4678688.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Reply via email to