9 references to JsonException
Aspire.Cli.Tests (2)
Commands\ExtensionInternalCommandTests.cs (2)
89
throw new
JsonException
($"Failed to deserialize JSON: {allOutput}", ex);
166
throw new
JsonException
($"Failed to deserialize JSON: {allOutput}", ex);
Aspire.Hosting.RemoteHost (1)
Ats\AtsMarshaller.cs (1)
256
throw new
JsonException
("TimeSpan milliseconds are outside the supported range.", ex);
Microsoft.AspNetCore.JsonPatch.SystemTextJson (2)
Converters\JsonConverterForJsonPatchDocumentOfT.cs (1)
49
throw new
JsonException
(Resources.InvalidJsonPatchDocument, ex);
Converters\JsonPatchDocumentConverter.cs (1)
49
throw new
JsonException
(Resources.InvalidJsonPatchDocument, ex);
Microsoft.NET.ProjectData (1)
Donor\ProjectDataDonorIndex.Serialization.cs (1)
92
throw new
JsonException
("Donor index entries must contain a valid path.", ex);
Microsoft.NET.ProjectData.Tasks (1)
src\roslyn\src\ProjectData\Microsoft.NET.ProjectData\Donor\ProjectDataDonorIndex.Serialization.cs (1)
92
throw new
JsonException
("Donor index entries must contain a valid path.", ex);
System.Text.Json (2)
System\Text\Json\ThrowHelper.Serialization.cs (2)
520
JsonException jsonException = new
JsonException
(null, ex);
560
JsonException jsonException = new
JsonException
(null, ex);