I think you're cheating quite a bit re JSON. Recall that the JSON spec intentionally elides semantics, therefore no infoset.
"decode this like a number" is just laughable. I have battle scars.
-
-
An XML tag called "amount" is going to be just as bad.
-
but nobody's gonna slurp it unconditionally into whatever number type is lying around.
-
I hope you don't really have that much trust in people. ;-)
End of conversation
New conversation -
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.