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

Check if there are any children when before creating the key #25

Merged
merged 3 commits into from
Oct 25, 2016

Conversation

zenangst
Copy link
Contributor

This PR cleans up the dictionary representation of Item. The thing that it fixes is that it checks if there are any children before adding it to the dictionary. This will help clean up your JSON file as it won’t add empty keys for children.

Christoffer Winterkvist added 2 commits October 25, 2016 08:56
- xcodebuild test -project Brick.xcodeproj -scheme Brick-Mac -sdk macosx
- xcodebuild clean build -project Brick.xcodeproj -scheme "Brick-tvOS" -destination 'platform=tvOS Simulator,name=Apple TV 1080p,OS=10.0'
- xcodebuild test -project Brick.xcodeproj -scheme "Brick-tvOS" -destination 'platform=tvOS Simulator,name=Apple TV 1080p,OS=10.0'
- xcodebuild clean build -project Brick.xcodeproj -scheme Brick-iOS -sdk iphonesimulator | xcpretty
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have to install xcpretty on travis?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It comes pre-installed.

@vadymmarkov vadymmarkov merged commit 46ab960 into master Oct 25, 2016
@vadymmarkov vadymmarkov deleted the improve/json-dictionary branch October 25, 2016 07:47
@vadymmarkov
Copy link
Contributor

@zenangst 👍

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

Successfully merging this pull request may close these issues.

4 participants