-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
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
Formatting with multi_json ? #2486
Comments
We've relied on |
To code must call
This means that even if you have Its true that |
It could be a relic of the past. A change like this is still breaking, so it's got to be worth it. |
GitLab has their own JSON Formatter which is using |
Am I wrong to say that Grape::Formatter::JSON will never call
Grape::Json::Dump
since every object responds toto_json
? On the other hand, Grape::ErrorFormatter::JSON is not usingto_json
.I'm just concerned about the
multi_json
usage which doesn't seem to be consistent. Should we keep it ?The text was updated successfully, but these errors were encountered: