微信小程序 云开发之数据库

发问 云开发的数据库中,数据表的导入josn格式怎么一直显示导入失败,请问这个json的格式还有什么格式限制吗?

    {
      "_id": "101",
      "title": "桶装水透明不干胶标签 透明耐高温标签,透明标签印刷 透明龙耐晒不干胶标签",
      "update_time": "2016-08-12",
      "img_Url": "../../images/img/pro-img101.jpg",
      "origin_price": "电议",
      "belong_to_classification": "矿泉水贴纸",
      "scale_price": {
        "price": "0.02",
        "condition": "5000张以上"
      },
      "is_properties": {
        "property": "最新"
      },
      "tips": ["透明龙不干胶标签", "不干胶标签厂家", "标签批发", "标签报价"],
      "details": {
        "is_Customized": true,
        "shape": "根据客户要求而定",
        "material": "珠光膜、镭射膜、透明龙、亮白PVC等",
        "glue": '进口胶水',
        "thickness": "一般有20#,50#,75#mm,具体厚度按客人要求",
        "methods": "凹印,胶印、UV印刷",
        "technology": "单面印刷、双面印刷,可过光膜、光油,烫金、烫银等",
        "delivery": "由下单时间,下单数量决定,一般是7-10天",
        "application": "日用品厂、饮料厂、矿泉水厂、食品厂、玩具厂、礼品厂等",
        "dispatching": '深圳市以内免费送货,省外遵照物流公司最低收费标准 ',
        "description": "桶装水透明龙不干胶标签透明耐高温标签,透明标签印刷透明龙耐晒不干胶标签",
        "show_img": "../../images/img/pro-img101-details.jpg"
      }
    },
    {
      "_id": "102",
      "title": "桶装水透明不干胶标签 透明耐高温标签,透明标签印刷 透明龙耐晒不干胶标签",
      "update_time": "2016-08-12",
      "img_Url": "../../images/img/pro-img102.jpg",
      "origin_price": "电议",
      "belong_to_classification": "矿泉水贴纸",
      "scale_price": {
        "price": "0.02",
        "condition": "5000张以上"
      },
      "is_properties": {
        "property": "推荐"
      },
      "tips": ["透明龙不干胶标签", "不干胶标签厂家", "标签批发", "标签报价"],
      "details": {
        "is_Customized": true,
        "shape": "根据客户要求而定",
        "material": "珠光膜、镭射膜、透明龙、亮白PVC等",
        "glue": '进口胶水',
        "thickness": "一般有20#,50#,75#mm,具体厚度按客人要求",
        "methods": "凹印,胶印、UV印刷",
        "technology": "单面印刷、双面印刷,可过光膜、光油,烫金、烫银等",
        "delivery": "由下单时间,下单数量决定,一般是7-10天",
        "application": "日用品厂、饮料厂、矿泉水厂、食品厂、玩具厂、礼品厂等",
        "dispatching": '深圳市以内免费送货,省外遵照物流公司最低收费标准 ',
        "description": "桶装水透明龙不干胶标签透明耐高温标签,透明标签印刷透明龙耐晒不干胶标签",
        "show_img": "../../images/img/pro-img102-details.jpg"
      }
    }

在官方文档中

{
    "_id": "xxxxxx",
    "age": 45
}
{
    "_id": "yyyyyy",
    "age": 21
}

是不是json要写成这种格式呢?

对后来在仔细的阅读,发现,在我的json中key:value中的value有单引号,本身json格式就不对,后来改了之后还是不行,原因就是需要按照文档中的格式来,没条数据之间不能有逗号....

身在其中方知其味 爱过方知情重,醉过方知酒浓

你可能感兴趣的:(微信小程序 云开发之数据库)