# Serialization & Equality

## Serialization

All the object models implement the **`Codable`** protocol so you can serialize and deserialize them without having to implement it. Below the list of objects that implement this protocol.

* `MBProject`
* `MBBlock`
* `MBSection`
* `MBElement`
* `MBMedia`
* `MBAddressElement`
* `MBCheckboxElement`
* `MBDateElement`
* `MBDropdownElement`
* `MBGeneralElement`
* `MBImagesElement`
* `MBMarkdownElement`
* `MBMediaElement`
* `MBRelationElement`
* `MBPollElement`
* `MBTextElement`
* `MBColorElement`
* `MBMultipleElement`
* `MBUser`

## Equality

All the model objects are conform to the **`Equatable`** protcol based on the corresponding id (e.g. an MBSection will result equal to another MBSection object if they have the same `sectionId`)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mburger.cloud/ios-docs/serialization-and-equality.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
