English 中文(简体)
JSON含有“-”的果园:这种有效/标准吗?
原标题:JSON contains minus ("-") char: is this valid/standard?
  • 时间:2012-04-13 21:16:17
  •  标签:
  • json
  • syntax

我与一个寄寄来“智者”的对应措施一道工作:

    [
  - {
    "id": 46843639,
    "nickname": "JSON",
    "registration_date": "2004-03-07T23:16:20.000-04:00",
    "country_id": "BR",
    "user_type": "normal",
    "logo": null,
    "points": 91,
    "site_id": "JSN",
    "permalink": "http://xxxxxx",
    "seller_reputation": - {
      "level_id": "2_orange",
      "power_seller_status": null,
      "transactions": - {
        "period": "historic",
        "total": 14,
        "completed": 8,
        "canceled": 6,
        "ratings": - {
          "positive": 1,
          "negative": 0,
          "neutral": 0,
        },
      },
    },
    "status": - {
      "site_status": "active",
    },
  },
]

我看不出这种负数——在任何特定文件中签字。 难道这一名逊标准吗?

最佳回答

无。 该服务器正在送上破碎的JSON。

<>->>- 只有在下述情况下才有效:在座标上注明;在座标上注明编号;在座标上紧接着<>e或 E

除此以外, com应separate > 姓名/价值奶制品和阵容元素,而不随附。 在每一物体/阵列最后条目之后,这些mas也是无效的。

问题回答

暂无回答




相关问题
How to change out-of-focus text selection color in Xcode?

Okay, I ll bite. I ve got really pleasant code/window colors set up in Xcode. Ordinarily, my selection color is very visible. When I am doing a project search and iterating through the results, ...

pdo database abstraction

Can someone help me to see what is going wrong with this setup I build the @sql query in the function below like this. The extra quotes are setup in the conditions array. $sql .= " WHERE $...

I wish I could correlate an "inline view"

I have a Patient table: PatientId Admitted --------- --------------- 1 d/m/yy hh:mm:ss 2 d/m/yy hh:mm:ss 3 d/m/yy hh:mm:ss I have a PatientMeasurement table (0 to ...

Syntax help! Php and MYSQL

Original: $sql = "SELECT DATE(TimeAdded) AS Date, $column_name FROM Codes ORDER BY TimeAdded ASC"; Altered: $sql = "SELECT DATE("m", TimeAdded ) AS Date, ColumnName FROM TableName ORDER BY ...

Is this code Equivalent

I am not a fan of the following construction if (self = [super init]) { //do something with self assuming it has been created } Is the following equivalent? self = [super init]; if (self != ...

热门标签