JQueryPlainObject .Data() would ideally return a dynamic and perform similar serialization and JSObject reference replacement similar to the passthru of event data.
Or consider simply returning it as a JSObject reference and require use of JSObject.GetPropertyAs* to interact with.
Could also implement the dynamic interface which calls GetPropertyAs* automatically, but this likely will be misleading and not make it clear that every property access results in a JS interop call.
JQueryPlainObject .Data() would ideally return a dynamic and perform similar serialization and JSObject reference replacement similar to the passthru of event data.
Or consider simply returning it as a JSObject reference and require use of JSObject.GetPropertyAs* to interact with.
Could also implement the dynamic interface which calls GetPropertyAs* automatically, but this likely will be misleading and not make it clear that every property access results in a JS interop call.