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

Only unbox NSNumbers 0, 1 to Bool for objCType 'c' #181

Merged
merged 1 commit into from
Feb 25, 2022

Commits on Feb 25, 2022

  1. Only unbox NSNumbers 0, 1 to Bool for objCType 'c'

    * Previously, initializing JSONValue with NSNumber with value 0 or 1
      would produce JSONValue.boolean. This change updates the behavior to
      only interpret NSNumber as boolean if its objCType is 'c' and its
      value is 0 or 1.
    macdrevx committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    98f3e90 View commit details
    Browse the repository at this point in the history