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