Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Add JSONSerialization integration tests #90

Merged
merged 1 commit into from
Nov 13, 2016
Merged

Conversation

keith
Copy link
Contributor

@keith keith commented Nov 10, 2016

Turns out that dictionaries created via NSJSONSerialization act
slightly differently than ones created literally through Swift. As far
as we can tell this is caused by the bridging that happens between
Objective-C and Swift. This adds some sanity checks for Double values
specifically since NSNumbers act differently when passed through this
filter.

@Reflejo
Copy link

Reflejo commented Nov 10, 2016

+1

Turns out that dictionaries created via `NSJSONSerialization` act
slightly differently than ones created literally through Swift. As far
as we can tell this is caused by the bridging that happens between
Objective-C and Swift. This adds some sanity checks for Double values
specifically since NSNumbers act differently when passed through this
filter.
@keith keith merged commit 65b2a24 into master Nov 13, 2016
@keith keith deleted the ks/add-integration-tests branch November 13, 2016 21:31
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants