Details
-
Bug
-
Resolution: Fixed
-
None
-
None
-
*Location*: http://developer.couchbase.com/documentation/server/4.5/data-modeling/intro-data-modeling.html
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
*Referrer*: http://developer.couchbase.com/documentation/server/4.5/concepts/application-development.html
*Screen Resolution*: 1440 x 900
*Location*: http://developer.couchbase.com/documentation/server/4.5/data-modeling/intro-data-modeling.html *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 *Referrer*: http://developer.couchbase.com/documentation/server/4.5/concepts/application-development.html *Screen Resolution*: 1440 x 900
Description
The quotes around the words type and hotel are smart quotes aka curly or fancy quotes which some JSON parsers will not accept as valid syntax.
{
“type”:“hotel”,
"address":"Capstone Road, ME7 3JE",
"city":"Medway",
We see smart quotes in the documentation quite often, which makes coping and pasting examples invalid, this seems to be a common issue.