Skip to content
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

Require JSON::XS #3

Closed
iafan opened this issue Oct 26, 2015 · 0 comments
Closed

Require JSON::XS #3

iafan opened this issue Oct 26, 2015 · 0 comments

Comments

@iafan
Copy link
Contributor

iafan commented Oct 26, 2015

While Serge can run without JSON::XS installed (JSON modules will fall-back to native Perl implementation), there are two caveats:

  1. JSON and JSON::XS parsers seem to produce different results when it comes to item ordering; this produces different results at Serge side and fails tests.
  2. Having no JSON::XS degrades performance.

So it's easier to just require JSON::XS for consistency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant