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

Another error in a JSON document example

    XMLWordPrintable

Details

    Description

      "html": <p>Hello from <a href="http: …">

      Why does the double quotation mark change its format?

      Since the value of the key ""html" is string, the double quotation marks contained in the string should be escaped by using \", so we should write <a href=\"http: instead if <a href="http:

      A comma should be added at the end of the value of the key html.JSON name/value pairs are separated by , (comma).

      Reporter: Xingxian LI
      E-mail: glixingxian@gmail.com

      Attachments

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

        Activity

          People

            matt.carabine Matt Carabine (Inactive)
            docsite-collector Docs Site Collector
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty