On Sun, Feb 8, 2009 at 10:51 AM, lfs_neves <lfs_neves@...> wrote:
> --- In aalto-xml-interest@yahoogroups.com, Tatu Saloranta
> <tsaloranta@...> wrote:
>>
>> Hi Luis! One idea occured to me today: I don't know how easy it would
>> be to do, but looking at wstest home page, it might be doable,
>> depending on how tightly coupled it is with soap and/or xml.
>
> ...
>
>> Given above, it might be quite easy to implement json-based web
>> service, where data binding is done using Jackson instead of JAXB. I
>> would expect such a service to be still faster than Jibx
>
> I've just posted my test results with JSON as an alternative
> serialization mechanism using the Jackson Processor... yes it is fast:
>
> http://technotes.blogs.sapo.pt/1708.html
Great!
> I've had a small issue in the process of porting the tests to JSON,
> Jackson serialized 0.0f as "0.0" but was unable to deserialize it
> back, it errors out with the message:
> "java.lang.Float from String value '0.0': overflow/underflow, value
> can not be represented as a 32-bit float"
Ah, thanks, that sounds like a bug -- I think it may be due to my
misunderstanding some of constants in Float/Double classes (MIN_VALUE
is epsilon, and not negative number with highest absolute value).
I'll definitely need to fix this.
> Other than that it was painless. You've wrote another great parser!
Thank you.
-+ Tatu +-