Skip to content

Commit 9f5bbf6

Browse files
NestedGroup-with-json-data
1 parent 8f412e3 commit 9f5bbf6

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Mail-Merge/NestedGroup-MailMerge-with-JSON/.NET/NestedGroup-MailMerge-with-JSON/Data/Data.txt renamed to Mail-Merge/NestedGroup-MailMerge-with-JSON/.NET/NestedGroup-MailMerge-with-JSON/Data/Data.json

File renamed without changes.

Mail-Merge/NestedGroup-MailMerge-with-JSON/.NET/NestedGroup-MailMerge-with-JSON/NestedGroup-MailMerge-with-JSON.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</ItemGroup>
1313

1414
<ItemGroup>
15-
<None Update="Data\Data.txt">
15+
<None Update="Data\Data.json">
1616
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
1717
</None>
1818
<None Update="Data\Template.docx">

Mail-Merge/NestedGroup-MailMerge-with-JSON/.NET/NestedGroup-MailMerge-with-JSON/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ static void Main(string[] args)
3838
private static List<object> GetJsonData()
3939
{
4040
//Reads the JSON object from JSON file.
41-
JObject jsonObject = JObject.Parse(File.ReadAllText(Path.GetFullPath(@"Data/Data.txt")));
41+
JObject jsonObject = JObject.Parse(File.ReadAllText(Path.GetFullPath(@"Data/Data.json")));
4242
//Converts JSON object to Dictionary.
4343

4444

0 commit comments

Comments
 (0)