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