phpCopy<?php $array = ["Lili", "Rose", "Jasmine", "Daisy"]; $JsonObject = serialize($array); echo "The array is converted to the Json string."; echo " "; echo"The Json string is $JsonObject"; ?>