Failed unmarshalling json: invalid character ':' after array element

getting subject error. how do I resolve it ?

"network": {
"servers": [localhost:5043" ],
"timeout": 15

"files": [
"paths:" [

 "fields": [ "type": "xxxlog" ]



"fields": [ "type": "xxxlog" ]


"fields": { "type": "xxxlog" }

tried your suggestion still getting same error

There's also a missing double quote right before "localhost". And after "paths" you've mixed up the order of the double quote and the colon.

The file format is standard JSON so you can save yourself some time and validate it on e.g.