设备属性中允许使用分号吗?

时间:2019-12-17 14:39:15

标签: fiware-orion

我试图用属性内的分号更新实体:

{
    "name": "Accelerometer",
    "type": "string",
    "value": "0;0;0",
    "metadatas": [
        {
            "name": "TimeInstant",
            "type": "ISO8601",
            "value": "2019-12-17T14:13:01.398Z"
        }
    ]
}

得到

{
    "errorCode": {
        "code": "400",
        "reasonPhrase": "Bad Request",
        "details": "Illegal value for JSON field"
    }
}

删除;解决错误。但是,这种行为是预期的吗?

谢谢

1 个答案:

答案 0 :(得分:0)

是的,这是正常现象。请查看forbidden characters Orion documentation