Our JSON example cannot compile using Xcode 6
fixed small typos
Merge pull request #590 from realm/kg-buildsh-xcode6-and-json-example

Our JSON example cannot compile using Xcode 6
Merge branch 'master' into jp-swift-syntax

* master:
  fixed small typos
  Our JSON example cannot compile using Xcode 6