We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76b9b76 commit 763b978Copy full SHA for 763b978
clients/algoliasearch-client-ruby/lib/algolia/api_client.rb
@@ -51,7 +51,7 @@ def deserialize(body, return_type)
51
return body.to_s if return_type == "String"
52
53
begin
54
- data = JSON.parse("[#{body}]", symbolize_names: true)[0]
+ data = JSON.parse("[#{body}]", :symbolize_names => true)[0]
55
rescue JSON::ParserError => e
56
raise e unless %w[String Date Time].include?(return_type)
57
0 commit comments