# tf.keras.preprocessing.text.tokenizer_from_json

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/keras-team/keras-preprocessing/tree/1.1.2/keras_preprocessing/text.py#L490-L519) |

Parses a JSON tokenizer configuration file and returns a

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.keras.preprocessing.text.tokenizer_from_json`](https://www.tensorflow.org/api_docs/python/tf/keras/preprocessing/text/tokenizer_from_json)

<br />

    tf.keras.preprocessing.text.tokenizer_from_json(
        json_string
    )

tokenizer instance.

<br />

<br />

<br />

| ## Arguments ||
|---|---|
| `json_string` | JSON string encoding a tokenizer configuration. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A Keras Tokenizer instance ||

<br />