Skip to content

Latest commit

 

History

History
30 lines (28 loc) · 417 Bytes

README.md

File metadata and controls

30 lines (28 loc) · 417 Bytes

wikitext2json

Parse wiktionary wikitext to readable JSON

Headings

Headings are used as the property keys in the resulting JSON Object

==English==
...
===Noun===
...
===Verb===
...
==German==
...
===Noun===
...

This wikitext would be parsed into the following JSON

{
  "English": {
    "Noun": {},
    "Verb": {}
  },
  "German": {
    "Noun": {}
  }
}