为什么myJson结构中存在错误?

时间:2019-07-23 19:04:18

标签: php json

我正在尝试更正json,但仍然有一些错误,我确实使用了Json编辑器,但它并没有帮助我了解错误的原因 我不知道它在我的代码中是否还有一个开放的'{'或是否缺少','? 看来错误在第79行,但我不知道到底什么是不正确的。

   {
      "data": [{
          "Contact_Name": {
              "id": "1884053000034678068"
          },
          "Subject": "1 - XKBKNABJK",
          "Status": "Sans Impact Stock",
          "Entity": "",
          "Etat": "CM - Annul\u00e9",
          "Invoice_Date": "2017-11-21",
          "Discount": 0.000000,
          "Tax": ["TVA"],
          "Total_HT": "55.000000",
          "Total_TVA": 0,
          "Methode_de_paiement": "Payment by check",
          "ID_Lip": "1",
          "Origine": "CM",
          "Type_de_Facture": "Solde",
          "Transporteur": "My carrier",
          "Reference_Colis": "",
          "Billing_Street": "16, Main street",
          "Compl_ment_Facturation": "2nd floor",
          "Billing_City": "Miami",
          "Billing_Country": "\u00c9tats-Unis",
          "Billing_Code": "33133",
          "Shipping_Street": "16, Main street",
          "Compl_ment_Livraison": "2nd floor",
          "Shipping_City": "Miami",
          "Shipping_Country": "\u00c9tats-Unis",
          "Shipping_Code": "33133",
          "Product_Details": [{
              "product": {
                  "id": "1884053000030235273"
              },
              "Product_Name": "Blouse - Color : White, Size : M",
              "list_price": 22.5,
              "quantity": 1,
              "Discount": 0,
              "Discount_Amount": 0,
              "line_tax": [{
                  "percentage": 20,
                  "name": "TVA"
              }]
          }, {
              "product": {
                  "id": "1884053000030235273"
              },
              "Product_Name": "Printed Dress - Color : Orange, Size : S",
              "list_price": 21.67,
              "quantity": 1,
              "Discount": 0,
              "Discount_Amount": 0,
              "line_tax": [{
                  "percentage": 20,
                  "name": "TVA"
              }]
          }, {
              "product": {
                  "id": "1884053000012868763"
              },
              "list_price": 1.67,
              "quantity": 1,
              "Discount": 0,
              "Discount_Amount": 0,
              "line_tax": [{
                  "percentage": 20,
                  "name": "TVA"
              }]
          }],
          "Adjustment": 0,
          "Montant_TPH": 0,
          "TVA_sur_DEEE_TPH": "0",
          "Taxes_DEEE_TPH": "TPH",
          "Frais_de_port_HT": "2.000000",
          "Frais_de_port_TTC": "2.000000",
          "Nb_produits": 3,
          "Quantite_totale": 3
      }]
   } 

非常感谢您的帮助!

0 个答案:

没有答案