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

Do not unquote integers with a leading zero #391

Merged
merged 3 commits into from
Dec 5, 2017

Commits on Dec 4, 2017

  1. Do not unquote integers with a starting zero

    Integers with leading zeros are invalid in JSON, so they should probably stay quoted in. (They would be valid Javascript, but JSON does not support octal notation as stated on http://json.org.
    phaer committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    a778475 View commit details
    Browse the repository at this point in the history
  2. fix regex for just 0

    phaer committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    993dd2b View commit details
    Browse the repository at this point in the history
  3. add tests for leading zeros.

    phaer committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    1d00f64 View commit details
    Browse the repository at this point in the history