Skip to content

Commit 169a5b6

Browse files
authored
changed files by pdets auto publish service, publishid[6b76dfe5-4895-487a-9994-64f677804b43] and do [publish].
1 parent 79a6d5a commit 169a5b6

8 files changed

+21
-21
lines changed

learn-pr/wwl-language/store-retrieve-json-files/3-implement-jsonserilizer-class-csharp-apps.yml renamed to learn-pr/wwl-language/store-retrieve-json-files/3-implement-jsonserializer-class-csharp-apps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
### YamlMime:ModuleUnit
2-
uid: learn.wwl.store-retrieve-json-files.implement-jsonserilizer-class-csharp-apps
2+
uid: learn.wwl.store-retrieve-json-files.implement-jsonserializer-class-csharp-apps
33
title: Implement the JsonSerializer class in C# apps
44
metadata:
55
title: Implement the JsonSerializer class in C# apps
@@ -10,4 +10,4 @@ metadata:
1010
ms.topic: unit
1111
durationInMinutes: 5
1212
content: |
13-
[!include[](includes/3-implement-jsonserilizer-class-csharp-apps.md)]
13+
[!include[](includes/3-implement-jsonserializer-class-csharp-apps.md)]

learn-pr/wwl-language/store-retrieve-json-files/8-knowledge-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ quiz:
6969
explanation: "Correct. `JsonSerializerOptions` allows customization of various aspects of the serialization process, such as handling properties, managing references, and processing special data types."
7070
- content: "What is the primary purpose of using Data Transfer Objects (DTOs) in serialization and deserialization?"
7171
choices:
72-
- content: "To increase the size of serialized data for better readability"
72+
- content: "To increase the size of serialized data for better readability."
7373
isCorrect: false
7474
explanation: "Incorrect. DTOs are used to simplify and control the serialization process, not to increase the size of serialized data."
75-
- content: "To simplify and control the serialization and deserialization of complex objects"
75+
- content: "To simplify and control the serialization and deserialization of complex objects."
7676
isCorrect: true
7777
explanation: "Correct. DTOs are used to simplify the data structure and control which properties are included in the serialized output."
78-
- content: "To expose all properties of an object during serialization"
78+
- content: "To expose all properties of an object during serialization."
7979
isCorrect: false
8080
explanation: "Incorrect. DTOs allow selective serialization, meaning only certain properties are included in the serialized output."

learn-pr/wwl-language/store-retrieve-json-files/includes/1-introduction.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ Imagine you're signed up to help a non-profit company with a software project. B
44

55
The topics covered in this module include:
66

7-
- Introduction to JavaScript Object Notation
8-
- Working with JSON data in C#: Serialization and deserialization using JsonSerializer class
9-
- Customizing JSON serialization in C#
10-
- Customizing deserialization behavior in C#
11-
- Managing serialization and deserialization of complex objects with JsonSerializerOptions and Data Transfer Objects
12-
- Serializing and deserializing JSON files in C#
7+
- Introduction to JavaScript Object Notation.
8+
- Working with JSON data in C#: Serialization and deserialization using JsonSerializer class.
9+
- Customizing JSON serialization in C#.
10+
- Customizing deserialization behavior in C#.
11+
- Managing serialization and deserialization of complex objects with JsonSerializerOptions and Data Transfer Objects.
12+
- Serializing and deserializing JSON files in C#.
1313

1414
After completing this module, you’ll be able to:
1515

learn-pr/wwl-language/store-retrieve-json-files/includes/2-get-started-javascript-object-notation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ The basic structure of JSON consists of:
1919

2020
JSON's basic data types are:
2121

22-
- Number: a signed decimal number that may contain a fractional part and may use exponential E notation but can't include non-numbers. The format makes no distinction between integer and floating-point.
23-
- String: a sequence of zero or more Unicode characters. Strings are delimited with double quotation marks and support a backslash escaping syntax.
24-
- Boolean: either of the values `true` or `false`.
25-
- Array: an ordered list of zero or more elements, each of which may be of any type. Arrays use square bracket notation `[]` with comma-separated elements.
26-
- Object: a collection of `name:value` pairs where the names are strings. Objects are delimited with curly brackets `{}` and use commas to separate each pair, while within each pair, the colon `:` character separates the `name` from its `value`. Values can be of any supported type, including other objects or arrays.
27-
- null: an empty value, using the word `null`.
22+
- Number: A signed decimal number that may contain a fractional part and may use exponential E notation but can't include non-numbers. The format makes no distinction between integer and floating-point.
23+
- String: A sequence of zero or more Unicode characters. Strings are delimited with double quotation marks and support a backslash escaping syntax.
24+
- Boolean: Either of the values `true` or `false`.
25+
- Array: An ordered list of zero or more elements, each of which may be of any type. Arrays use square bracket notation `[]` with comma-separated elements.
26+
- Object: A collection of `name:value` pairs where the names are strings. Objects are delimited with curly brackets `{}` and use commas to separate each pair, while within each pair, the colon `:` character separates the `name` from its `value`. Values can be of any supported type, including other objects or arrays.
27+
- null: An empty value, using the word `null`.
2828

2929
## JSON samples
3030

learn-pr/wwl-language/store-retrieve-json-files/includes/5-customize-deserialization-behavior.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ There are multiple ways to specify a preference for `replace` or `populate`:
222222

223223
```
224224

225-
## Reading JSON Files
225+
## Reading JSON files
226226

227227
How to read JSON files using `File.ReadAllText`.
228228

learn-pr/wwl-language/store-retrieve-json-files/includes/6-manage-serialization-deserialization-complex-objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ DTOs provide the following benefits:
142142

143143
You can selectively serialize portions of an object by creating a custom DTO that includes only the properties you want to serialize. This approach allows you to control exactly what gets serialized without including nested objects.
144144

145-
### Creating and Using DTOs for Serialization
145+
### Creating and using DTOs for Serialization
146146

147147
Here's a step-by-step guide on how to create and use DTOs for serialization in C#:
148148

learn-pr/wwl-language/store-retrieve-json-files/index.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### YamlMime:Module
22
uid: learn.wwl.store-retrieve-json-files
33
metadata:
4-
title: Store and retrieve JSON files
4+
title: Store and Retrieve JSON Files
55
description: "Learn how to serialize and deserialize JavaScript Object Notation (JSON) strings using the JsonSerializer class, the JsonSerializerOptions class, and Data Transfer Objects."
66
ms.date: 04/03/2025
77
author: wwlpublish
@@ -48,7 +48,7 @@ subjects:
4848
units:
4949
- learn.wwl.store-retrieve-json-files.introduction
5050
- learn.wwl.store-retrieve-json-files.get-started-javascript-object-notation
51-
- learn.wwl.store-retrieve-json-files.implement-jsonserilizer-class-csharp-apps
51+
- learn.wwl.store-retrieve-json-files.implement-jsonserializer-class-csharp-apps
5252
- learn.wwl.store-retrieve-json-files.customize-serialization-behavior
5353
- learn.wwl.store-retrieve-json-files.customize-deserialization-behavior
5454
- learn.wwl.store-retrieve-json-files.manage-serialization-deserialization-complex-objects

0 commit comments

Comments
 (0)