Skip to content

JSON Format

Shuhei Kayawari edited this page Feb 16, 2022 · 2 revisions

Format

{
    "nodes": {
        "id": string,
        "isMain"?: string,
    }[],
    "links": {
        "source": string,
        "target": string
    }[],
    "info": {
        "id": string,
        "onyomi": string[],
        "kunyomi": string[],
        "meaning": string[]
    }
}

Example

{
    "nodes": [ 
        { 
            "id": "山",
            "isMain": "true"
        },
        {
            "id": "登"
        }
    ],
    "links": [
        {
            "source": "登",
            "target": "山"
        }
    ],
    "info": {
        "id": "山",
        "onyomi": ["サン", "セン"],
        "kunyomi": ["ヤマ"],
        "meaning": ["mountain"]
    }
}
Clone this wiki locally