Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

is json php

function isJson($str) {
   json_decode($str);
   return json_last_error() === JSON_ERROR_NONE;
}
Source by www.javaer101.com #
 
PREVIOUS NEXT
Tagged: #json #php
ADD COMMENT
Topic
Name
7+1 =