crhallberg / json-against-humanity

Finally, Cards Against Humanity as plain text and JSON.
https://crhallberg.com/cah/
Other
166 stars 37 forks source link

Change JSON formats #8

Closed crhallberg closed 6 years ago

crhallberg commented 7 years ago

Compiled is now compact (compact.md.json):

New Full format (full.md.json):

{
  "black": [
    {
      "text":,
      "pick":,
      "symbol":,
      "deck": "deck1"
    },
    // Another 2,703 cards ...
  ],
  "white": [
    {
      "text":,
      "symbol":,
      "deck": "deck2"
    },
    // Another 7,218 cards ...
  ],
  "metadata": {
    "deck1": {
      "name": "Battle Deck 2K17",
      "description": "..."
    },
    "deck2": {/* ... */},
  }
}

Resolves #5.