在 Bluemix 上的业务规则服务上“无法 运行 测试 .. 意外的输入结束”

“Unable to run test .. Unexpected end-of-input” on Business Rules service on Bluemix

在 Bluemix 上的业务规则服务上测试我的规则时,出现以下错误:

"Unable to run test Error when extracting the ruleset parameter value from the request. Unexpected end-of-input: expected close marker for OBJECT (from [Source: com.ibm.ws.webcontainer.srt.SRTInputStream@1d255d3f; line: 1, column: 0]) at [Source: com.ibm.ws.webcontainer.srt.SRTInputStream@1d255d3f; line: 8, column: 123]"

我错误地构造了输入参数(缺少右大括号):

{
    "foo": {
        "name": "foo",
        "id": "bar"
    }

添加右括号后,我就可以 运行 测试成功了。