Open rwz opened 11 years ago
string = "\x82\xAC\xEF" Gson::Decoder.new.decode(string) # => "���"
The string is definitely not a valid JSON and one would expect decoder to raise an error instead of doing what Gson is doing here...
Forgot to mention, that I'm using the latest available version for now, which is 0.6.1
This issue is causing MultiJSON specs to fail on JRuby. Any update on this?
The string is definitely not a valid JSON and one would expect decoder to raise an error instead of doing what Gson is doing here...