how to code a minecraft json file mod

JavaScript
                     this is for the manifest.json file
{
    "format_version": 1,
    "header": {
        "uuid": "6796d13d-a738-4f5d-ac8e-f26c630411eb",
        "name": "NAME HERE",
        "description": "YOUR DESCRIPTION HERE",
        "version": [
            0,
            0,
            1
        ]
    },
    "modules": [
        {
            "description": "YOUR DESCRIPTION HERE",
            "type": "resources",
            "version": [
                0,
                0,
                1
            ],
            "uuid": "743f6949-53be-44b6-b326-398005028819"
        }
    ]
}
Source

Also in JavaScript: