Skip to content

Instantly share code, notes, and snippets.

@bricker
Last active April 5, 2021 06:04
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 bricker/2082eab5104d8782f78658d8b9eab045 to your computer and use it in GitHub Desktop.
Save bricker/2082eab5104d8782f78658d8b9eab045 to your computer and use it in GitHub Desktop.
public enum JSONValue {
case object([String: JSONValue])
case array([JSONValue])
case string(String)
case number(Double)
case boolean(Bool)
case null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment