Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Dancer2::Serializer::JSON ignores arbitrary config options #512

Closed
nichtich opened this Issue · 1 comment

2 participants

@nichtich

In https://github.com/PerlDancer/Dancer2/blob/master/lib/Dancer2/Serializer/JSON.pm#L25 only the options allow_blessed, convert_blessed, and utf8 are respected, but not for instance pretty.Dancer2 should not hard-code options to JSON this way but just pass any option specified in the config.

@nichtich nichtich referenced this issue from a commit
@nichtich nichtich Support all JSON configuration options
As noted in issue #512 the current JSON serializer ignored most [JSON](https://metacpan.org/pod/JSON) configuration options. This should fix it.
5ba4ae8
@veryrusty veryrusty referenced this issue from a commit
@nichtich nichtich Support all JSON configuration options
As noted in issue #512 the current JSON serializer ignored most configuration
options, so pass them all through.
3780d41
@veryrusty veryrusty referenced this issue from a commit
@nichtich nichtich Support all JSON configuration options
As noted in issue #512 the current JSON serializer ignored most configuration
options, so pass them all through.
22ad499
@veryrusty
Owner

Resolved by #602 (Merged as 4d97feb). Thanks again @nichtich!

@veryrusty veryrusty closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.