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

# createSessionState

`fun createSessionState(json: `[`JSONObject`](https://developer.android.com/reference/org/json/JSONObject.html)`): `[`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#L62)

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.

