87 instantiations of JsonConverter
Aspire.Hosting (1)
Dashboard\DashboardLifecycleHook.cs (1)
419
[
JsonConverter
(typeof(JsonStringEnumConverter<LogLevel>))]
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\RootComponentOperationType.cs (1)
8
[
JsonConverter
(typeof(JsonStringEnumConverter<RootComponentOperationType>))]
Microsoft.AspNetCore.Components.WebAssembly (1)
src\Components\Shared\src\RootComponentOperationType.cs (1)
8
[
JsonConverter
(typeof(JsonStringEnumConverter<RootComponentOperationType>))]
Microsoft.AspNetCore.Components.WebView (1)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
341
[
JsonConverter
(typeof(OSBasedCaseConverter))]
Microsoft.AspNetCore.Hosting (1)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
341
[
JsonConverter
(typeof(OSBasedCaseConverter))]
Microsoft.AspNetCore.Mvc.Core.Test (4)
Formatters\SystemTextJsonInputFormatterTest.cs (2)
214
[
JsonConverter
(typeof(DateTimeConverter))]
217
[
JsonConverter
(typeof(ShortConverter))]
Formatters\SystemTextJsonOutputFormatterTest.cs (1)
318
[
JsonConverter
(typeof(ThrowingFormatterPersonConverter))]
Infrastructure\SystemTextJsonResultExecutorTest.cs (1)
41
[
JsonConverter
(typeof(ThrowingFormatterPersonConverter))]
Microsoft.AspNetCore.OpenApi (1)
Schemas\OpenApiJsonSchema.cs (1)
8
[
JsonConverter
(typeof(JsonConverter))]
Microsoft.AspNetCore.OpenApi.Tests (1)
Shared\SharedTypes.cs (1)
39
[
JsonConverter
(typeof(JsonStringEnumConverter<Status>))]
Microsoft.CodeAnalysis.LanguageServer (1)
LanguageServer\Handler\DebugConfiguration\WorkspaceDebugConfigurationParams.cs (1)
11
[property: JsonPropertyName("workspacePath"),
JsonConverter
(typeof(DocumentUriConverter))] Uri WorkspacePath);
Microsoft.CodeAnalysis.LanguageServer.Protocol (62)
Protocol\ChangeAnnotationIdentifier.cs (1)
19
[
JsonConverter
(typeof(StringEnumConverter<ChangeAnnotationIdentifier>))]
Protocol\CodeActionKind.cs (1)
16
[
JsonConverter
(typeof(StringEnumConverter<CodeActionKind>))]
Protocol\CodeDescription.cs (1)
23
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\ConfigurationItem.cs (1)
23
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\CreateFile.cs (1)
32
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\DeleteFile.cs (1)
32
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\DocumentLink.cs (1)
33
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\FailureHandlingKind.cs (1)
17
[
JsonConverter
(typeof(StringEnumConverter<FailureHandlingKind>))]
Protocol\FileOperations\FileCreate.cs (1)
24
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\FileOperations\FileDelete.cs (1)
24
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\FileOperations\FileEvent.cs (1)
22
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\FileOperations\FileOperationPatternKind.cs (1)
17
[
JsonConverter
(typeof(StringEnumConverter<FileOperationPatternKind>))]
Protocol\FileOperations\FileRename.cs (2)
24
[
JsonConverter
(typeof(DocumentUriConverter))]
32
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\FoldingRangeKind.cs (1)
17
[
JsonConverter
(typeof(StringEnumConverter<FoldingRangeKind>))]
Protocol\FormattingOptions.cs (1)
18
[
JsonConverter
(typeof(FormattingOptionsConverter))]
Protocol\InitializeParams.cs (2)
69
[
JsonConverter
(typeof(DocumentUriConverter))]
126
[
JsonConverter
(typeof(InitializeParamsWorkspaceFoldersConverter))]
Protocol\Internal\Diagnostics\VSInternalDiagnosticKind.cs (1)
13
[
JsonConverter
(typeof(StringEnumConverter<VSInternalDiagnosticKind>))]
Protocol\Internal\Efficiency\OptimizedVSCompletionList.cs (1)
12
[
JsonConverter
(typeof(OptimizedVSCompletionListJsonConverter))]
Protocol\Internal\Text\ClassifiedTextElement.cs (1)
13
[
JsonConverter
(typeof(ClassifiedTextElementConverter))]
Protocol\Internal\Text\ClassifiedTextRun.cs (1)
11
[
JsonConverter
(typeof(ClassifiedTextRunConverter))]
Protocol\Internal\Text\ContainerElement.cs (1)
15
[
JsonConverter
(typeof(ContainerElementConverter))]
Protocol\Internal\Text\ImageElement.cs (1)
11
[
JsonConverter
(typeof(ImageElementConverter))]
Protocol\Internal\Text\ImageId.cs (1)
20
[
JsonConverter
(typeof(ImageIdConverter))]
Protocol\Internal\VSInternalCompletionItem.cs (2)
24
[
JsonConverter
(typeof(ImageElementConverter))]
32
[
JsonConverter
(typeof(ClassifiedTextElementConverter))]
Protocol\Internal\VSInternalHover.cs (1)
20
[
JsonConverter
(typeof(ObjectContentConverter))]
Protocol\Internal\VSInternalInlineCompletionOptions.cs (1)
20
[
JsonConverter
(typeof(RegexConverter))]
Protocol\Internal\VSInternalLocation.cs (1)
22
[
JsonConverter
(typeof(ObjectContentConverter))]
Protocol\Internal\VSInternalReferenceItem.cs (3)
60
[
JsonConverter
(typeof(ObjectContentConverter))]
149
[
JsonConverter
(typeof(ObjectContentConverter))]
190
[
JsonConverter
(typeof(ImageElementConverter))]
Protocol\Internal\VSInternalSignatureInformation.cs (1)
19
[
JsonConverter
(typeof(ClassifiedTextElementConverter))]
Protocol\Location.cs (1)
22
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\LocationLink.cs (1)
38
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\MarkupKind.cs (1)
15
[
JsonConverter
(typeof(StringEnumConverter<MarkupKind>))]
Protocol\Moniker\MonikerKind.cs (1)
17
[
JsonConverter
(typeof(StringEnumConverter<MonikerKind>))]
Protocol\Moniker\UniquenessLevel.cs (1)
18
[
JsonConverter
(typeof(StringEnumConverter<UniquenessLevel>))]
Protocol\Navigation\CallHierarchyItem.cs (1)
52
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\Navigation\TypeHierarchyItem.cs (1)
52
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\Notebook\NotebookCell.cs (1)
34
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\ParameterInformation.cs (1)
17
[
JsonConverter
(typeof(ParameterInformationConverter))]
Protocol\PositionEncodingKind.cs (1)
17
[
JsonConverter
(typeof(StringEnumConverter<PositionEncodingKind>))]
Protocol\PreviousResultId.cs (1)
23
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\PublishDiagnosticParams.cs (1)
21
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\RenameFile.cs (2)
32
[
JsonConverter
(typeof(DocumentUriConverter))]
44
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\ResourceOperationKind.cs (1)
16
[
JsonConverter
(typeof(StringEnumConverter<ResourceOperationKind>))]
Protocol\SemanticTokens\SemanticTokenFormat.cs (1)
17
[
JsonConverter
(typeof(StringEnumConverter<SemanticTokenFormat>))]
Protocol\ServerCapabilities.cs (1)
38
[
JsonConverter
(typeof(TextDocumentSyncConverter))]
Protocol\SumType.cs (3)
19
[
JsonConverter
(typeof(SumConverter))]
211
[
JsonConverter
(typeof(SumConverter))]
495
[
JsonConverter
(typeof(SumConverter))]
Protocol\TextDocumentIdentifier.cs (1)
21
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\TextDocumentItem.cs (1)
21
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\TraceSetting.cs (1)
15
[
JsonConverter
(typeof(StringEnumConverter<TraceSetting>))]
Protocol\TraceValue.cs (1)
17
[
JsonConverter
(typeof(StringEnumConverter<TraceValue>))]
Protocol\WorkspaceFolder.cs (1)
18
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\WorkspaceFullDocumentDiagnosticReport.cs (1)
25
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\WorkspaceSymbolLocation.cs (1)
17
[
JsonConverter
(typeof(DocumentUriConverter))]
Protocol\WorkspaceUnchangedDocumentDiagnosticReport.cs (1)
25
[
JsonConverter
(typeof(DocumentUriConverter))]
Microsoft.ML.AutoML (4)
SweepableEstimator\MultiModelPipeline.cs (1)
12
[
JsonConverter
(typeof(MultiModelPipelineConverter))]
SweepableEstimator\SweepableEstimator.cs (1)
16
[
JsonConverter
(typeof(SweepableEstimatorConverter))]
SweepableEstimator\SweepableEstimatorPipeline.cs (1)
13
[
JsonConverter
(typeof(SweepableEstimatorPipelineConverter))]
SweepableEstimator\SweepablePipeline.cs (1)
16
[
JsonConverter
(typeof(SweepablePipelineConverter))]
Microsoft.ML.SearchSpace (5)
Option\ChoiceOption.cs (1)
18
[
JsonConverter
(typeof(ChoiceOptionConverter))]
Option\OptionBase.cs (1)
16
[
JsonConverter
(typeof(OptionConverter))]
Option\UniformNumericOption.cs (1)
16
[
JsonConverter
(typeof(NumericOptionConverter))]
Parameter.cs (1)
62
[
JsonConverter
(typeof(ParameterConverter))]
SearchSpace.cs (1)
26
[
JsonConverter
(typeof(SearchSpaceConverter))]
Microsoft.ML.Tokenizers (2)
Utils\StringSpanOrdinalKey.cs (2)
18
[
JsonConverter
(typeof(StringSpanOrdinalKeyConverter))]
128
[
JsonConverter
(typeof(VocabularyConverter))]
Sample (1)
src\OpenApi\test\Microsoft.AspNetCore.OpenApi.Tests\Shared\SharedTypes.cs (1)
39
[
JsonConverter
(typeof(JsonStringEnumConverter<Status>))]
System.Memory.Data (1)
System\BinaryData.cs (1)
20
[
JsonConverter
(typeof(BinaryDataJsonConverter))]
13 references to JsonConverter
System.Text.Json (13)
System\Text\Json\Serialization\Attributes\JsonConverterAttribute.cs (3)
15
/// <see cref="JsonSerializerOptions.Converters"/> or there is another <see cref="
JsonConverterAttribute
"/> on a property or field
22
/// Initializes a new instance of <see cref="
JsonConverterAttribute
"/> with the specified converter type.
31
/// Initializes a new instance of <see cref="
JsonConverterAttribute
"/>.
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Converters.cs (5)
138
JsonConverterAttribute
? converterAttribute = memberInfo.GetUniqueCustomAttribute<
JsonConverterAttribute
>(inherit: false);
152
JsonConverterAttribute
? converterAttribute = typeToConvert.GetUniqueCustomAttribute<
JsonConverterAttribute
>(inherit: false);
175
private static JsonConverter GetConverterFromAttribute(
JsonConverterAttribute
converterAttribute, Type typeToConvert, MemberInfo? memberInfo, JsonSerializerOptions options)
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
46
/// <see cref="CustomConverter"/> will be mapped from <see cref="
JsonConverterAttribute
" /> annotations.
System\Text\Json\Serialization\Metadata\JsonPropertyInfoValuesOfT.cs (1)
42
/// A <see cref="JsonConverter"/> for the property or field, specified by <see cref="
JsonConverterAttribute
"/>.
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (3)
465
/// User-defined custom converters (specified either via <see cref="
JsonConverterAttribute
"/> or <see cref="JsonSerializerOptions.Converters"/>)
899
/// Any converters specified via <see cref="
JsonConverterAttribute
"/> on the type declaration
930
/// Any converters specified via <see cref="
JsonConverterAttribute
"/> on the type declaration