# File lib/active_resource/validations.rb, line 29 def from_json(json, save_cache = false) array = Array.wrap(ActiveSupport::JSON.decode(json)['errors']) rescue [] from_array array, save_cache end