39 references to Json
Microsoft.AspNetCore.Components.Server (2)
Circuits\CircuitHost.cs (1)
403
public async Task BeginInvokeDotNetFromJS(string callId, string assemblyName, string methodIdentifier, long dotNetObjectId, [StringSyntax(StringSyntaxAttribute.
Json
)] string argsJson)
ComponentHub.cs (1)
480
public async ValueTask BeginInvokeDotNetFromJS(string callId, string assemblyName, string methodIdentifier, long dotNetObjectId, [StringSyntax(StringSyntaxAttribute.
Json
)] string argsJson)
Microsoft.AspNetCore.Components.Web (1)
Internal\IInternalWebJSInProcessRuntime.cs (1)
20
string InvokeJS(string identifier, [StringSyntax(StringSyntaxAttribute.
Json
)] string? argsJson, JSCallResultType resultType, long targetInstanceId);
Microsoft.AspNetCore.Components.WebAssembly (3)
Services\DefaultWebAssemblyJSRuntime.cs (3)
57
public static void EndInvokeJS([StringSyntax(StringSyntaxAttribute.
Json
)] string argsJson)
69
public static void BeginInvokeDotNet(string? callId, string assemblyNameOrDotNetObjectId, string methodIdentifier, [StringSyntax(StringSyntaxAttribute.
Json
)] string argsJson)
98
public static void UpdateRootComponentsCore([StringSyntax(StringSyntaxAttribute.
Json
)] string operationsJson, string appState)
Microsoft.AspNetCore.Identity (3)
SignInManager.cs (3)
562
public virtual async Task<PasskeyAttestationResult> PerformPasskeyAttestationAsync([StringSyntax(StringSyntaxAttribute.
Json
)] string credentialJson)
606
public virtual async Task<PasskeyAssertionResult<TUser>> PerformPasskeyAssertionAsync([StringSyntax(StringSyntaxAttribute.
Json
)] string credentialJson)
649
public virtual async Task<SignInResult> PasskeySignInAsync([StringSyntax(StringSyntaxAttribute.
Json
)] string credentialJson)
Microsoft.JSInterop (8)
Infrastructure\DotNetDispatcher.cs (3)
45
public static string? Invoke(JSRuntime jsRuntime, in DotNetInvocationInfo invocationInfo, [StringSyntax(StringSyntaxAttribute.
Json
)] string argsJson)
75
public static void BeginInvokeDotNet(JSRuntime jsRuntime, DotNetInvocationInfo invocationInfo, [StringSyntax(StringSyntaxAttribute.
Json
)] string argsJson)
306
public static void EndInvokeJS(JSRuntime jsRuntime, [StringSyntax(StringSyntaxAttribute.
Json
)] string arguments)
Infrastructure\JSInvocationInfo.cs (1)
43
[StringSyntax(StringSyntaxAttribute.
Json
)]
JSInProcessRuntime.cs (2)
80
protected virtual string? InvokeJS(string identifier, [StringSyntax(StringSyntaxAttribute.
Json
)] string? argsJson)
92
protected abstract string? InvokeJS(string identifier, [StringSyntax(StringSyntaxAttribute.
Json
)] string? argsJson, JSCallResultType resultType, long targetInstanceId);
JSRuntime.cs (2)
202
protected virtual void BeginInvokeJS(long taskId, string identifier, [StringSyntax(StringSyntaxAttribute.
Json
)] string? argsJson)
214
protected abstract void BeginInvokeJS(long taskId, string identifier, [StringSyntax(StringSyntaxAttribute.
Json
)] string? argsJson, JSCallResultType resultType, long targetInstanceId);
Microsoft.JSInterop.WebAssembly (2)
WebAssemblyJSRuntime.cs (2)
26
protected override string InvokeJS(string identifier, [StringSyntax(StringSyntaxAttribute.
Json
)] string? argsJson, JSCallResultType resultType, long targetInstanceId)
59
protected override void BeginInvokeJS(long asyncHandle, string identifier, [StringSyntax(StringSyntaxAttribute.
Json
)] string? argsJson, JSCallResultType resultType, long targetInstanceId)
Shared.Tests (1)
JsonSchemaExporter\TestData.cs (1)
14
[StringSyntax(StringSyntaxAttribute.
Json
)] string ExpectedJsonSchema,
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\StringSyntaxAttribute.cs (1)
60
public const string Json = nameof(
Json
);
System.Text.Json (18)
System\Text\Json\Document\JsonDocument.Parse.cs (2)
282
public static JsonDocument Parse([StringSyntax(StringSyntaxAttribute.
Json
)] ReadOnlyMemory<char> json, JsonDocumentOptions options = default)
349
public static JsonDocument Parse([StringSyntax(StringSyntaxAttribute.
Json
)] string json, JsonDocumentOptions options = default)
System\Text\Json\Document\JsonElement.Parse.cs (3)
84
public static JsonElement Parse([StringSyntax(StringSyntaxAttribute.
Json
)] ReadOnlySpan<byte> utf8Json, JsonDocumentOptions options = default)
98
public static JsonElement Parse([StringSyntax(StringSyntaxAttribute.
Json
)] ReadOnlySpan<char> json, JsonDocumentOptions options = default)
113
public static JsonElement Parse([StringSyntax(StringSyntaxAttribute.
Json
)] string json, JsonDocumentOptions options = default)
System\Text\Json\Nodes\JsonNode.Parse.cs (1)
71
[StringSyntax(StringSyntaxAttribute.
Json
)] string json,
System\Text\Json\Serialization\JsonSerializer.Read.String.cs (10)
47
public static TValue? Deserialize<TValue>([StringSyntax(StringSyntaxAttribute.
Json
)] string json, JsonSerializerOptions? options = null)
81
public static TValue? Deserialize<TValue>([StringSyntax(StringSyntaxAttribute.
Json
)] ReadOnlySpan<char> json, JsonSerializerOptions? options = null)
116
public static object? Deserialize([StringSyntax(StringSyntaxAttribute.
Json
)] string json, Type returnType, JsonSerializerOptions? options = null)
154
public static object? Deserialize([StringSyntax(StringSyntaxAttribute.
Json
)] ReadOnlySpan<char> json, Type returnType, JsonSerializerOptions? options = null)
191
public static TValue? Deserialize<TValue>([StringSyntax(StringSyntaxAttribute.
Json
)] string json, JsonTypeInfo<TValue> jsonTypeInfo)
227
public static TValue? Deserialize<TValue>([StringSyntax(StringSyntaxAttribute.
Json
)] ReadOnlySpan<char> json, JsonTypeInfo<TValue> jsonTypeInfo)
257
public static object? Deserialize([StringSyntax(StringSyntaxAttribute.
Json
)] string json, JsonTypeInfo jsonTypeInfo)
284
public static object? Deserialize([StringSyntax(StringSyntaxAttribute.
Json
)] ReadOnlySpan<char> json, JsonTypeInfo jsonTypeInfo)
327
public static object? Deserialize([StringSyntax(StringSyntaxAttribute.
Json
)] string json, Type returnType, JsonSerializerContext context)
372
public static object? Deserialize([StringSyntax(StringSyntaxAttribute.
Json
)] ReadOnlySpan<char> json, Type returnType, JsonSerializerContext context)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Raw.cs (2)
34
public void WriteRawValue([StringSyntax(StringSyntaxAttribute.
Json
)] string json, bool skipInputValidation = false)
67
public void WriteRawValue([StringSyntax(StringSyntaxAttribute.
Json
)] ReadOnlySpan<char> json, bool skipInputValidation = false)