# Microsoft.JSInterop

``` diff
 namespace Microsoft.JSInterop {
     public abstract class JSInProcessRuntime : JSRuntime, IJSInProcessRuntime, IJSRuntime {
-        protected virtual string? InvokeJS(string identifier, string? argsJson);
+        protected virtual string? InvokeJS(string identifier, [StringSyntaxAttribute("Json")] string? argsJson);
-        protected abstract string? InvokeJS(string identifier, string? argsJson, JSCallResultType resultType, long targetInstanceId);
+        protected abstract string? InvokeJS(string identifier, [StringSyntaxAttribute("Json")] string? argsJson, JSCallResultType resultType, long targetInstanceId);
     }
     public abstract class JSRuntime : IDisposable, IJSRuntime {
-        protected virtual void BeginInvokeJS(long taskId, string identifier, string? argsJson);
+        protected virtual void BeginInvokeJS(long taskId, string identifier, [StringSyntaxAttribute("Json")] string? argsJson);
-        protected abstract void BeginInvokeJS(long taskId, string identifier, string? argsJson, JSCallResultType resultType, long targetInstanceId);
+        protected abstract void BeginInvokeJS(long taskId, string identifier, [StringSyntaxAttribute("Json")] string? argsJson, JSCallResultType resultType, long targetInstanceId);
     }
 }
```

