Skip to content

Commit 7006739

Browse files
committed
update link (again)
1 parent f3eb039 commit 7006739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_posts/2024/2024-10-26-a-common-problem.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ In this post I'm going to review what is arguably the most common of these cases
1414

1515
All of the `json-everything` libraries operate on the `JsonNode` family of models from _System.Text.Json_. These models offer a remarkable feature that makes inlining JSON data very simple: implicit casts into `JsonValue` from compatible .Net types.
1616

17-
So, C# `bool` maps to the `true` and `false` JSON literals, [`null` maps to the `null` JSON literal](../2023/null-has-value-too.md), `double` and all of the other numeric types map to JSON numbers, and `string` maps to JSON strings. That means the compiler considers all of the following code as valid and performs the appropriate conversion in the background:
17+
So, C# `bool` maps to the `true` and `false` JSON literals, [`null` maps to the `null` JSON literal](../2023/2023-04-20-null-has-value-too.md), `double` and all of the other numeric types map to JSON numbers, and `string` maps to JSON strings. That means the compiler considers all of the following code as valid and performs the appropriate conversion in the background:
1818

1919
```c#
2020
JsonNode jsonBool = false;

0 commit comments

Comments
 (0)