We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In flask_restplus.representations:output_json (https://github.com/noirbizarre/flask-restplus/blob/master/flask_restplus/representations.py#L25) usjon.dumps is called (when installed) with indent=4 when DEBUG is enabled. However this is causing a segfault when you're trying to serialize a numpy array. Without indent it also causes an error, but it's an OverflowError. See for example this issue: ultrajson/ultrajson#294
flask_restplus.representations:output_json
usjon.dumps
indent=4
OverflowError
I know it's a problem with ujson, but it does kill the server and it's not easy to find the cause.
ujson
The text was updated successfully, but these errors were encountered:
I think we will probably drop ujson as stated in #589 because the project does not seem actively supported anymore.
Thanks for the report.
Sorry, something went wrong.
stop relying on ujson (fix #589, #587, #507)
bee950a
No branches or pull requests
In
flask_restplus.representations:output_json
(https://github.com/noirbizarre/flask-restplus/blob/master/flask_restplus/representations.py#L25)usjon.dumps
is called (when installed) withindent=4
when DEBUG is enabled. However this is causing a segfault when you're trying to serialize a numpy array. Without indent it also causes an error, but it's anOverflowError
. See for example this issue: ultrajson/ultrajson#294I know it's a problem with
ujson
, but it does kill the server and it's not easy to find the cause.The text was updated successfully, but these errors were encountered: