[android-components](../../index.md) / [mozilla.components.browser.engine.system](../index.md) / [SystemEngine](index.md) / [createSessionState](./create-session-state.md)

# createSessionState

`fun createSessionState(json: <ERROR CLASS>): `[`EngineSessionState`](../../mozilla.components.concept.engine/-engine-session-state/index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/engine-system/src/main/java/mozilla/components/browser/engine/system/SystemEngine.kt#L81)

Overrides [Engine.createSessionState](../../mozilla.components.concept.engine/-engine/create-session-state.md)

Create a new [EngineSessionState](../../mozilla.components.concept.engine/-engine-session-state/index.md) instance from the serialized JSON representation.

