jcklie / anki-maobi

máobĭ (毛笔) is an Anki add-on to create cards with writing quizzes for Hanzi (Chinese characters)
MIT License
47 stars 7 forks source link

Invalid configuration: JSONDecodeError #44

Closed cndhng closed 3 years ago

cndhng commented 3 years ago

Invalid configuration: JSONDecodeError("Expecting ’,‘ delimiter: line 8 column 1 (char134)")

cndhng commented 3 years ago

This is the default configuration:

{ "decks": [ { "deck": "Maobi", "field": "Hanzi", "template": "Recognition" } ] }

So I have a set name ABC so I add try to configure by:

{ "decks": [ { "deck": "Maobi", "field": "Hanzi", "template": "Recognition" } { "deck": "ABC", "field": "Hanzi", "template": "Recognition" } ] }

jcklie commented 3 years ago

You are missing a comma after the first }. You can try https://jsonformatter.curiousconcept.com/# to validate your config:

image

cndhng commented 3 years ago

Thanks so much, silly mistake that I make there! Thank you. Just one quick question. Does this maobi feature Japanese Kanji letters ^^?

jcklie commented 3 years ago

Right now it is only for Hanzi, but when I find the time then I can try it. The data for https://github.com/chanind/hanzi-writer-data-jp should have Kanji in it. Can you open a new issue for this in maobi?