“无法 运行 测试 ..Bluemix 上的业务规则服务上的意外字符('''”
“Unable to run test .. Unexpected character ('"' ” on Business Rules service on Bluemix
在 Bluemix 上的业务规则服务上测试我的规则时,出现以下错误:
"Unable to run test
Error when extracting the ruleset parameter value from the request.
Unexpected character ('"' (code 34)): was expecting comma to separate
OBJECT entries at [Source:
com.ibm.ws.webcontainer.srt.SRTInputStream@b79d0b4f; line: 4, column:
10]"
我错误地构造了输入参数(它在两个条目 "name" 和 "id" 之间缺少逗号 ','):
{
"foo": {
"name": "foo"
"id": "bar"
}
}
一旦我添加了逗号分隔符,我就可以 运行 测试成功了:
{
"foo": {
"name": "foo",
"id": "bar"
}
}
在 Bluemix 上的业务规则服务上测试我的规则时,出现以下错误:
"Unable to run test
Error when extracting the ruleset parameter value from the request. Unexpected character ('"' (code 34)): was expecting comma to separate OBJECT entries at [Source: com.ibm.ws.webcontainer.srt.SRTInputStream@b79d0b4f; line: 4, column: 10]"
我错误地构造了输入参数(它在两个条目 "name" 和 "id" 之间缺少逗号 ','):
{
"foo": {
"name": "foo"
"id": "bar"
}
}
一旦我添加了逗号分隔符,我就可以 运行 测试成功了:
{
"foo": {
"name": "foo",
"id": "bar"
}
}