heca-project/heca

Improve Daily Study JSON support

Closed this issue · 0 comments

Regarding issue #4 , we should change the daily study JSON (I didn't release it yet, so it's OK).

Right now JSON looks like ברכות2. The issue is that:

  1. I don't like Hebrew JSON. It's annoying to use in the terminal.
  2. You shouldn't have to string-parse JSON.

Same thing with Rambam. It should look more like:

{
  [
    {
      "law": "KingsAndWars",
      "chapter": 10
    },
    {
      "law": "KingsAndWars",
      "chapter": 11
    },
    {
      "law": "KingsAndWars",
      "chapter": 12
    }
  ]
}