I am getting below error,
com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Infinite or NaN
When I am giving Json request: {"sendAmt" : ""}
and storing that json object to some other Object using
gson.fromJson(inputStreamReader,msgClass)
Note that sendAmt is a BigDecimal type.
I tried gson builder using registering TypeAdapters but I could not get that solved.