views:

116

answers:

1

I am using C# COM Interop techniques to interact with some device from website using ActiveX. Right now I can call C# codes from javascript and pass only string values. But I intend to pass javascript structure into C# method and the reverse. How can I do that.

Right now as an alternative I pass JSON formatted string from C# code and generate javascript object runtime using eval. But I want more control on that.

Thanks Maksud

A: 

I ended up using NewtonSoft's JSON Library as I could not find native solution.

Maksud