diff --git a/resources/views/json-editor.blade.php b/resources/views/json-editor.blade.php index fbb54bc..5aadf10 100644 --- a/resources/views/json-editor.blade.php +++ b/resources/views/json-editor.blade.php @@ -1,3 +1,9 @@ +@php + $statePath = $getStatePath(); + if (if (is_array($statePath) || is_object($statePath) ) { + $statePath = json_encode($statePath); + } +@endphp -