Am I wrong to say that Grape::Formatter::JSON will never call Grape::Json::Dump since every object responds to to_json ? On the other hand, Grape::ErrorFormatter::JSON is not using to_json.
I'm just concerned about the multi_json usage which doesn't seem to be consistent. Should we keep it ?
Am I wrong to say that Grape::Formatter::JSON will never call
Grape::Json::Dumpsince every object responds toto_json? On the other hand, Grape::ErrorFormatter::JSON is not usingto_json.I'm just concerned about the
multi_jsonusage which doesn't seem to be consistent. Should we keep it ?