sarfarazsajjad
sarfarazsajjad

Reputation: 1238

can't find the error in json document

I cannot find the error in this json document, I have tried to validate it on jsonlint, but cannot understand the error.

{
"type": "mongodb",
"mongodb": {
    "servers": [
        {
            "port": 27017,
            "host": “abc.com”
        }
    ],
    "options": {
        "secondary_read_preference": true
    },
    "db": “abc”,
    "collection": “abc”
},
"index": {
    "name": “abc”,
    "type": “id”
}
}

here is the jsonlint result screenshot
enter image description here

please explain what is wrong with it.

Upvotes: 0

Views: 70

Answers (1)

asdf_enel_hak
asdf_enel_hak

Reputation: 7630

you are using wrong double quotes, you should use " instead of

Upvotes: 5

Related Questions