Could anybody help me figure out the syntax of the code below?
"AddonInfo"
{
"name" "Addon name"
"version" "Current Version"
"up_date" "Date of update"
"author_name" "Addon's Author"
"author_email" ""
"info" "Addon's Info"
"override" "0"
}
It’s a Half-Life 2 (to be specific, garrys mod) Configuration File. I think it’s only used by the source engine.
Edit:
A simple regexp to convert to JSON:
Where
gsubis the function for global replacement.