diff --git a/src/Show/Field.php b/src/Show/Field.php index e6f0ecce0c..e7a0df2e2f 100644 --- a/src/Show/Field.php +++ b/src/Show/Field.php @@ -400,7 +400,12 @@ public function json() $field = $this; return $this->unescape()->as(function ($value) use ($field) { - $content = json_decode($value, true); + + if (is_string($value)) { + $content = json_decode($value, true); + } else { + $content = $value; + } if (json_last_error() == 0) { $field->border = false;