12 references to JsonException
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateGenerator\RequestDelegateCreationTests.Logging.cs (2)
514
var jsonException = new
JsonException
();
555
var jsonException = new
JsonException
();
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Protocol\Converters\NaturalObjectConverter.cs (1)
70
throw new
JsonException
();
Protocol\Internal\Converters\ClassifiedTextElementConverter.cs (1)
54
throw new
JsonException
();
Protocol\Internal\Converters\ClassifiedTextRunConverter.cs (2)
47
throw new
JsonException
();
53
throw new
JsonException
();
Protocol\Internal\Converters\ContainerElementConverter.cs (2)
30
return new ContainerElement(style ?? throw new
JsonException
(), objects);
64
throw new
JsonException
();
Protocol\Internal\Converters\ImageElementConverter.cs (1)
27
imageId ??= imageId ?? throw new
JsonException
();
Protocol\Internal\Converters\ImageIdConverter.cs (1)
26
var guid = root.GetProperty(nameof(ImageId.Guid)).GetString() ?? throw new
JsonException
();
Protocol\Internal\Converters\ObjectContentConverter.cs (1)
50
var type = data.GetProperty(TypeProperty).GetString() ?? throw new
JsonException
();
System.Text.Json (1)
System\Text\Json\Serialization\Converters\Node\JsonNodeConverter.cs (1)
56
throw new
JsonException
();