Created
September 20, 2017 13:23
-
-
Save KordianKL/0c1db58225d10575ebf216d251d01ba4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let expr = "sexy gaze" | |
let jsonEncoder = JSONEncoder() | |
jsonEncoder.outputFormatting = .prettyPrinted | |
var animoji = Animoji.iPhoneX("💩", expr.data(using: .utf8)!) | |
var data = try jsonEncoder.encode(animoji) | |
var json = String(data: data, encoding: .utf8)! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment