Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-1509

Data modeling exaple JSON has smart quotes

    XMLWordPrintable

Details

    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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            amarantha.kulkarni Amarantha Kulkarni (Inactive)
            ianmccloy Ian McCloy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty