Good day everyone. Help me to understand.
There is json:
{"length":"6" ,"width":"20" ,"height":"25" ,"count":"30" } It works fine for me and without incident (I digest it on a servlet as one of the request parameters). But if, for example, in the " length " key - to add a letter or add it on the contrary, then the other parameters pass normally, and this one with a value of 0 . That is, too, everything is good, but the wrong value. Why is this option? Is it
DetailSimply_json detail = json.fromJson(JsonString, DetailSimply_json.class); Shouldn't it crash with Exception somehow? Or do such checks need to be done with pens?