Skip to content

Commit

Permalink
Correct markdown callout formatting
Browse files Browse the repository at this point in the history
Co-authored-by: Frank Brückner <[email protected]>
Signed-off-by: George Steel <[email protected]>
  • Loading branch information
gsteel and froschdesign authored Jan 26, 2024
1 parent 092db0d commit 7577f7d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/book/v2/helpers/json.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# Json

> WARNING: **Deprecated**
>
> The JSON view helper has been deprecated and will be removed in version 3.0.
> There is no replacement;
> however, it is trivial to encode data by using PHP's built-in [`json_encode`](https://www.php.net/json_encode) function.
WARNING: **Deprecated**
The JSON view helper has been deprecated and will be removed in version 3.0.
There is no replacement; however, it is trivial to encode data by using PHP's built-in [`json_encode`](https://www.php.net/json_encode) function.

When creating views that return JSON, it's important to also set the appropriate
response header. The JSON view helper does exactly that. In addition, by
Expand Down

0 comments on commit 7577f7d

Please sign in to comment.