[android-components](../../index.md) / [mozilla.components.browser.engine.gecko](../index.md) / [GeckoEngineSessionState](index.md) / [fromJSON](./from-j-s-o-n.md)

# fromJSON

`fun fromJSON(json: <ERROR CLASS>): `[`GeckoEngineSessionState`](index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/engine-gecko-beta/src/main/java/mozilla/components/browser/engine/gecko/GeckoEngineSessionState.kt#L27)