Announcement

Collapse
No announcement yet.

"Casting" JS object to .NET object

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    "Casting" JS object to .NET object

    Please see example here:
    https://deck.net/c7eeaa0e9f20e6a1bd307f834c493f72

    In short, is there an alternative to Script.Get than can return a ".NET object" (with correct methods, props set up)?

    Edit:
    Found a possible solution:
    https://deck.net/062ed28953ecf67d36dc7c0b4b3c0ff7
    Is this the "right" way to do it?
    Last edited by dosh; 2018-10-18 @ 12:24 PM.

    #2
    Hello @dosh!

    I believe the best way to do so is using Bridge.Newtonsoft.Json! This way you can have Bridge applications interop with native .NET applications, copy-paste.

    Comment

    Working...
    X