Skip to content

Instantly share code, notes, and snippets.

View absoftware's full-sized avatar

Ariel Bogdziewicz absoftware

View GitHub Profile
@absoftware
absoftware / abswift-playground-decodable-any.swift
Last active April 8, 2021 00:05
Hot to make Swift's [String: Any] decodable?
import Foundation
let json = """
{
"keyNumber1": {
"type": "payload",
"data": {
"id": "someId1",
"eventName": "Event Name 1",
"metadata": []