<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@digitalpersona/core](./core.md) &gt; [Question](./core.question.md) &gt; [fromJson](./core.question.fromjson.md)

## Question.fromJson() method

Creates a security question from a plain JSON object.

<b>Signature:</b>

```typescript
static fromJson(json: object): Question;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  json | <code>object</code> |  |

<b>Returns:</b>

`Question`

