I recently started using elemental.json. But I recently stumbled upon strange (expected?) behaviour. Is there any good documentation? The javadoc is quiet lacking, at least in this regard. So, what am I confused about?
First, there is a "getNumber" (and it's equivalents), but those fail with a classcastexception, if you use it on parsed Json. There is no problem if you use it on values that were "put" there. Is that working as intended?
Second, and I guess this is a bug: If you use get(key).asBoolean() on a recently parsed value, you get the correct value. But if you use it on a value "false" you "put" in, you get true.
I would be happy if someone could shine some light on this for me :)
I wrote a small "test" to demonstrate it:
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.