4 references to JsonSerializerOptions
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (3)
LanguageServer\AbstractLanguageServerProtocolTests.cs (3)
128
var expectedStr = JsonSerializer.Serialize(expected,
JsonSerializerOptions
);
129
var actualStr = JsonSerializer.Serialize(actual,
JsonSerializerOptions
);
275
Data = JsonSerializer.SerializeToElement(new CompletionResolveData(resultId, ProtocolConversions.DocumentToTextDocumentIdentifier(document)),
JsonSerializerOptions
),
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
UriTests.cs (1)
182
var unencodedUri = JsonSerializer.Deserialize<LSP.DidOpenTextDocumentParams>(jsonDocument,
JsonSerializerOptions
)!.TextDocument.Uri;