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

Another error in a JSON document example

    XMLWordPrintable

Details

    Description

      "brewery":"Legacy Brewing Co." :

      { "address1" : "Easy Peasy St.", "address2" : "Suite 4", "city" : "Baltimore", "state" : "Maryland", "zip" : "21215", "capacity" : 10000, }

      ,

      I think this is not conforme with the JSON document standard, because here
      "Legacy Brewing Co." :

      { "address1" : "Easy Peasy St.", "address2" : "Suite 4", "city" : "Baltimore", "state" : "Maryland", "zip" : "21215", "capacity" : 10000, }

      is considered as a value of brewry but it is the key-value pair not a value. I think

      { "name": "Legacy Brewing Co.", "address1" : "Easy Peasy St.", "address2" : "Suite 4", "city" : "Baltimore", "state" : "Maryland", "zip" : "21215", "capacity" : 10000}

      would be better.

      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