30 references to Json
Microsoft.AspNetCore.Components.Web (1)
Internal\IInternalWebJSInProcessRuntime.cs (1)
20
string InvokeJS(string identifier, [StringSyntax(StringSyntaxAttribute.
Json
)] string? argsJson, JSCallResultType resultType, long targetInstanceId);
Microsoft.Build.Engine.UnitTests (1)
Construction\SolutionFilter_Tests.cs (1)
208
public void InvalidSolutionFilters([StringSyntax(StringSyntaxAttribute.
Json
)] string slnfValue, string exceptionReason)
Microsoft.Extensions.AI (1)
ChatCompletion\OpenTelemetryChatClient.cs (1)
505
private void Log(EventId id, [StringSyntax(StringSyntaxAttribute.
Json
)] string eventBodyJson)
Microsoft.Extensions.AI.Abstractions.Tests (1)
test\Shared\JsonSchemaExporter\TestData.cs (1)
14
[StringSyntax(StringSyntaxAttribute.
Json
)] string ExpectedJsonSchema,
Microsoft.JSInterop (7)
Infrastructure\DotNetDispatcher.cs (2)
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)
Infrastructure\JSInvocationInfo.cs (1)
43
[StringSyntax(StringSyntaxAttribute.
Json
)]
JSInProcessRuntime.cs (2)
80
protected virtual string? InvokeJS(string identifier, [StringSyntax(StringSyntaxAttribute.
Json
)] string? argsJson)
91
protected abstract string? InvokeJS(string identifier, [StringSyntax(StringSyntaxAttribute.
Json
)] string? argsJson, JSCallResultType resultType, long targetInstanceId);
JSRuntime.cs (2)
191
protected virtual void BeginInvokeJS(long taskId, string identifier, [StringSyntax(StringSyntaxAttribute.
Json
)] string? argsJson)
202
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\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\StringSyntaxAttribute.cs (1)
54
public const string Json = nameof(
Json
);
System.Text.Json (15)
System\Text\Json\Document\JsonDocument.Parse.cs (2)
260
public static JsonDocument Parse([StringSyntax(StringSyntaxAttribute.
Json
)] ReadOnlyMemory<char> json, JsonDocumentOptions options = default)
324
public static JsonDocument 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)