From 124f53b9d7470612e19a74dd18569cf3fbc643af Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 26 Mar 2022 14:59:28 +0100 Subject: [PATCH] undo serialize fiasco --- basics/views.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basics/views.md b/basics/views.md index 07f854c..3094662 100755 --- a/basics/views.md +++ b/basics/views.md @@ -6,7 +6,7 @@ Views contain the raw information of a result which then depending on the templa A view must implement `__serialize/__unserialize` and `\JsonSerializable`. -In case the response header is set to JSON the view will automatically get parsed as JSON object, either by using a the JSON template or by encoding the view. For the JSON serialization the `jsonSerialize()` function will be used in all other cases the `__serialize()` function will be used. +In case the response header is set to JSON the view will automatically get parsed as JSON object, either by using a the JSON template or by encoding the view. For the JSON serialization the `jsonSerialize()` function will be used in all other cases the `serialize()` function will be used. ## Localization