You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
We propose removing easyjson and refactoring the SDK to use the built-in encoding/json package. Although easyjson provides performance benefits, it has limitations when dealing with dynamic types, such as interface{} in search results. This was highlighted in #436, where large numeric values encountered precision issues. Switching to encoding/json would improve flexibility, maintainability, and error handling.
Basic example
// Replace easyjson.Marshal with json.Marshaljson.Marshal(data)
The text was updated successfully, but these errors were encountered:
Description
We propose removing
easyjson
and refactoring the SDK to use the built-inencoding/json
package. Althougheasyjson
provides performance benefits, it has limitations when dealing with dynamic types, such asinterface{}
in search results. This was highlighted in #436, where large numeric values encountered precision issues. Switching toencoding/json
would improve flexibility, maintainability, and error handling.Basic example
The text was updated successfully, but these errors were encountered: