# Firebase.AI.IFirebaseDeserializable

Interface to define a method to construct the object from a Dictionary.

## Summary

The [Firebase](https://firebase.google.com/docs/reference/unity/namespace/firebase#namespace_firebase)[AI](https://firebase.google.com/docs/reference/unity/namespace/firebase/a-i#namespace_firebase_1_1_a_i) Logic SDK by default will attempt to use reflection when deserializing objects, like in `GenerateObjectResponse`, but this allows developers to override that logic with their own.

| ### Public functions ||
|---|---|
| `https://firebase.google.com/docs/reference/unity/interface/firebase/a-i/i-firebase-deserializable#interface_firebase_1_1_a_i_1_1_i_firebase_deserializable_1ab47c6b6b4ab19437a985a01a7764d7a1(IDictionary< string, object > dict)` | `void` Populate an object's fields with the given dictionary. |

## Public functions

### FromDictionary

```c#
void FromDictionary(
  IDictionary< string, object > dict
)
```
Populate an object's fields with the given dictionary.

<br />

Details Parameters `dict` A deserialized Json blob, received from the underlying model.