Skip to content

Commit 5c73141

Browse files
committed
Fix for nested null value handling
1 parent b5cfa23 commit 5c73141

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Extensions/Json/Cosmos.DataTransfer.JsonExtension/JsonDictionaryDataItem.cs

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ public IEnumerable<string> GetFieldNames()
3636
JsonValueKind kind = element.ValueKind;
3737
switch (kind)
3838
{
39+
case JsonValueKind.Null:
40+
return null;
3941
case JsonValueKind.String:
4042
return element.GetString();
4143
case JsonValueKind.Number:

0 commit comments

Comments
 (0)