Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Pass Javascript Object with Array to the host

$
0
0
Hello!

ClearScript doesn't convert script arrays to host arrays automatically. Instead, it lets you access script arrays directly from the host, and vice versa.

Can you say more about your requirements? If you just need to produce the correct JSON for your script object, then you probably want to use JavaScript's JSON object instead of Json.NET. Otherwise you may need to expose an array conversion function and invoke it manually.

Thanks!

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images