This project is archived and is in readonly mode.
ActiveSupport JSON decode fails on "\\" at end of string
-
Yehuda Katz (wycats)
- State changed from new to invalid
This is an invalid JSON object. JSON key/value pairs are required to be enclosed in {}, and JSON Arrays are required to be enclosed in [].
-
Erik Andrejko
That was a typo. The JSON string, as is in the test, should be:
{"a" : "1"}
I believe that the ActiveSupport JSON parser will fail for any value which ends in "".
