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