Skip to content

Use multi_json for rendering #442

@jhollinger

Description

@jhollinger

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe

Config option overload.

Describe the feature you'd like to see implemented

multi_json is a popular gem (that we'd need to depend on) for automatically choosing the fastest JSON renderer your application or library has available:

MultiJson.dump({:abc => 'def'})

I've used other serializers, like grape-entity, that support it, as well as many applications. This would simplify configuration by moving it up a layer outside of our library. We could still offer an override for rare cases if we want, maybe via an extension hook.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions