开发者

Using javascript json class with ASP

I would like to persist ASP session data in JSON format. I have written this code :

Dim piece_ : Set piece_ = JSON.parse("{""code"":"""",""quantity"":""0"",""printed"":""false"",""familles"":""[]""}")
      piece_.set "code", Collection(key).code
      piece_.set "quantity", Collection(key).quantity
      piece_.set "familles", Collection(key).familles_.ToJavaScript()
开发者_运维问答

I get an error with the Set method. My system is WinXp Pro SP3 - IIS 5. What's going wrong? Thx


Try piece_.set("code",Collection(key).code))

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜