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
Keep in mind that with benedict all encoders/decoders can receive their own options using kwargs, it means that you can write your own json encoder and pass it using the default option to to_json method.
Whenever np.int64 datatype comes, benedict is returning str due to which when I json load, I am not seeing number.
json.loads(benedict({"x": [np.int64(0), np.int64(34)]}).to_json())
The text was updated successfully, but these errors were encountered: