Skip to content

Instantly share code, notes, and snippets.

@guedes
Created April 10, 2012 19:33
Show Gist options
  • Save guedes/2353896 to your computer and use it in GitHub Desktop.
Save guedes/2353896 to your computer and use it in GitHub Desktop.
How this valid JSON should be internally represented in Elixir?
{
"Image": {
"Width": 800,
"Height": 600,
"Title": "View from 15th Floor",
"Thumbnail": {
"Url": "http://www.example.com/image/481989943",
"Height": 125,
"Width": "100"
},
"IDs": [116, 943, 234, 38793]
}
}
@rafaelfranca
Copy link

[
  Image: [
    Width: 800,
    Height: 600,
    Title: "View from 15th Floor",
    Thumbnail: [
      Url: "http://www.example.com/image/481989943",
      Height: 125,
      Width:  "100"
    ],
    IDs: [116, 943, 234, 38793]
  ]
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment