-
viralpraxis authored
I'm not sure if back in the day `MultiJson.decode` could decode non-object JSON objects -- but `JSON.parse` sure can now. ```ruby bundle exec rails runner 'p ActiveSupport::JSON.decode("2.39")' 2.39 ``` ref: https://github.com/rails/rails/commit/21fee1b6540871c0227b97f2312573a4f0d89127
viralpraxis authoredI'm not sure if back in the day `MultiJson.decode` could decode non-object JSON objects -- but `JSON.parse` sure can now. ```ruby bundle exec rails runner 'p ActiveSupport::JSON.decode("2.39")' 2.39 ``` ref: https://github.com/rails/rails/commit/21fee1b6540871c0227b97f2312573a4f0d89127
Loading