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