Closed bpetri closed 8 years ago
The cheshire version which is currenlty used does not encode Float values properly:
(json/generate-string (java.lang.Float. 4.9)) 4.900000095367432
This makes wrap-json-response quite unusable for me. Luckily, this is already fixed in the latest cheshire version:
(json/generate-string (java.lang.Float. 4.9)) 4.9
Sorry for the delay in getting to this. Could you fix the type in the commit message?
I assume you meant typo?
Yes, I did! How appropriate I should misspell that word in particular :)
The cheshire version which is currenlty used does not encode Float values properly:
(json/generate-string (java.lang.Float. 4.9)) 4.900000095367432
This makes wrap-json-response quite unusable for me. Luckily, this is already fixed in the latest cheshire version:
(json/generate-string (java.lang.Float. 4.9)) 4.9