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

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>