From 5d449d47791ebb27e27abcbeac7ae9e930dfcf64 Mon Sep 17 00:00:00 2001 From: Dan Feder Date: Wed, 27 Jan 2021 17:40:34 -0500 Subject: [PATCH] Unescaped slashes (#12) --- src/RootedJsonData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RootedJsonData.php b/src/RootedJsonData.php index f92d4e2..0608dd4 100644 --- a/src/RootedJsonData.php +++ b/src/RootedJsonData.php @@ -84,7 +84,7 @@ public function __toString() */ public function pretty() { - return $this->data->getJson(JSON_PRETTY_PRINT); + return $this->data->getJson(JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); } /**