Skip to content

Commit

Permalink
Document new serialization functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
m1maker committed Oct 29, 2024
1 parent dd62650 commit ab3df0b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/Foundation/Namespaces/Global/Functions/Serialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,16 @@
- `the_serialized_dictionary` (const string&): The serialized dictionary to deserialize.
- **Return Type**: dictionary@
- **Description**: Deserializes a string representation back into a dictionary and returns it.

### `string serialize_array(array<class T>@ array)`
**Parameters:**
- `array`: The array to be serialized.
- **Return Type**: string
- **Description**: Serializes an array into a string representation.

### `bool deserialize_array(const string&in the_serialized_array, array<class T>@ &out array)`
**Parameters:**
- `const string &the_serialized_array`: The serialized string representing an array.
- `array`: The array to store the deserialized data.
- **Return Type**: bool
- **Description**: Deserializes an array representation back into an array and returns `true` if success.

0 comments on commit ab3df0b

Please sign in to comment.