Skip to content

Commit

Permalink
Remove docs about Json\Expr now this feature is removed
Browse files Browse the repository at this point in the history
  • Loading branch information
gsteel committed Feb 25, 2021
1 parent 83b685e commit 6e27d9f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions docs/book/helpers/json.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,3 @@ determine how to handle the content.
```php
<?= $this->json($this->data) ?>
```

> ### Enabling encoding using Laminas\Json\Expr
>
> The JSON helper accepts an array of options that will be passed to `Laminas\Json\Json::encode()` and
> used internally to encode data.
> `Laminas\Json\Json::encode` allows the encoding of native JSON expressions using `Laminas\Json\Expr`
> objects. This option is disabled by default. To enable this option, pass a boolean `true` to the
> `enableJsonExprFinder` key of the options array:
>
> ```php
> <?= $this->json($this->data, ['enableJsonExprFinder' => true]) ?>
> ```

0 comments on commit 6e27d9f

Please sign in to comment.