Thursday 15 January 2015

javascript - can't find the error in json document -



javascript - can't find the error in json document -

i cannot find error in json document, have tried validate on jsonlint, cannot understand 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 jsonlint result screenshot

please explain wrong it.

you using wrong double quotes, should utilize " instead of

javascript json

No comments:

Post a Comment