Skip to main content
Language

Deserialization

PhotoEditor SDK for React Native supports serialization and deserialization, allowing your users to save and revise their work at any time.

Loading a serialization#

To restore a previously saved state, we first need to retrieve the serialization. For this example, we have a local serialization file that should be used.

To open the editor with the selected serialization, you need to pass it to the PESDK.openEditor method as the serialization parameter.