Skip to content

Instantly share code, notes, and snippets.

@dejanskledar
Created October 16, 2017 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dejanskledar/dd2821ef1bbbaff59d8419100c0e1d46 to your computer and use it in GitHub Desktop.
Save dejanskledar/dd2821ef1bbbaff59d8419100c0e1d46 to your computer and use it in GitHub Desktop.
let oathKeeper = Sword(name: "Oathkeeper", size: 120, isValyrianSteel: true)
let jsonData = try? JSONEncoder().encode(oathKeeper)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment