Depending on the document the used JSON parse fails to parse the response as valid json, tried the same with Faraday client and the reponse is parsed fine.
Steps to reproduce
Run a query, that retunrs attached response
response.json
Expected Behavior
Client should parse that response
Actual Behavior
Client fails parsing the response with
``/Users/honza/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/typesense-0.15.0/lib/typesense/api_call.rb:91:inload': quoted string not terminated (after hits[119].document.content) at line 1, column 161314 [parse.c:241] (Oj::ParseError)
Description
Depending on the document the used JSON parse fails to parse the response as valid json, tried the same with Faraday client and the reponse is parsed fine.
Steps to reproduce
Run a query, that retunrs attached response response.json
Expected Behavior
Client should parse that response
Actual Behavior
Client fails parsing the response with
``/Users/honza/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/typesense-0.15.0/lib/typesense/api_call.rb:91:in
load': quoted string not terminated (after hits[119].document.content) at line 1, column 161314 [parse.c:241] (Oj::ParseError)