Empty list json encoding

Run Settings
LanguageGo
Language Version
Run Command
package main import ( "os" "encoding/json" ) func main() { var foos []string bars := make([]string, 0) json.NewEncoder(os.Stdout).Encode(foos) json.NewEncoder(os.Stdout).Encode(bars) }
Editor Settings
Theme
Key bindings
Full width
Lines