Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change JSON formats #8

Merged
merged 13 commits into from
Oct 11, 2017
Merged

Change JSON formats #8

merged 13 commits into from
Oct 11, 2017

Conversation

crhallberg
Copy link
Owner

@crhallberg crhallberg commented Aug 1, 2017

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

  • White cards are now JSON objects with { text: "" } for consistency with black cards
  • Decks are now keyed by abbreviations

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.

@crhallberg crhallberg merged commit f48e31b into master Oct 11, 2017
@crhallberg crhallberg deleted the format_changes branch June 18, 2020 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant