Skip to content

Commit e11b4d0

Browse files
author
Divya Kamath
committed
minor editing
1 parent 5f58c9d commit e11b4d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/Developer/Serialization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ Graphitti utilizes Cereal to enable efficient serialization and deserialization
5050

5151
- **Defining Serialization Functions**: Cereal requires to know which data members to serialize in a class. By implementing a serialization function `serialize` within a class, you indicate to Cereal which data members should be serialized.
5252

53-
- **Default Constructor Requirement**:
54-
- Cereal requires access to a default constructor for classes it serializes to construct the object during deserialization.
53+
- **Default Constructor Requirement**:Cereal requires access to a default constructor for classes it serializes to construct the object during deserialization.
5554

5655
- **Name-Value Pairs**: Cereal supports name-value pairs, allowing you to attach names to serialized objects. This feature is particularly useful for XML archives and is adopted in Graphitti's serialization process.
5756

@@ -146,6 +145,7 @@ If you answer "yes" to any of the following questions, follow the corresponding
146145
<summary><strong>
147146
Is your class a derived class?
148147
</summary></strong>
148+
149149
Cereal needs a serialization path from the derived class to the base type(s). This is usually handled with either `cereal::base_class` or `cereal::virtual_base_class`.
150150
151151
#### [a] Is your class derived from a virtual inheritance ?
@@ -349,7 +349,7 @@ Encountering a Cereal error during compiling or running Graphitti? Here's a chec
349349
350350
With these checks, you should be able to diagnose and resolve common Cereal errors in Graphitti.
351351
352-
## Serialization flow in Graphitti (For Debugging purposes)
352+
<!-- ## Serialization flow in Graphitti (For Debugging purposes) -->
353353
354354
355355

0 commit comments

Comments
 (0)