{
    "result": true,
    "teams": [
{{$max := .Max}}
{{range $i, $e := .b}}
        {
            "id": "{{$e.Id}},
            "name": "{{$e.Name}}
        {{if eq $max $i}}
        }
        {{else}}
        },
        {{end}}
{{end}}
    ]
}

{
    "result": true,
    "teams": [
{{$max := .Max}}
{{range $i, $e := .b}}
        {
            "id": "{{$e.Id}}",
            "name": "{{$e.Name}}"
        {{if eq $max $i}}
        }
        {{else}}
        },
        {{end}}
{{end}}
    ]
}

Fix json syntax error of team list
Fix json syntax error of team list
