json html element code example
Example 1: Sending HTML Code Through JSON
$html_content="<p>hello this is sample text</p>";
$json_array=array(
'html_content'=>$html_content
);
echo json_encode($json_array);
Example 2: json table example
CopyCREATE TABLE j_purchaseorder
(id VARCHAR2 (32) NOT NULL PRIMARY KEY,
date_loaded TIMESTAMP (6) WITH TIME ZONE,
po_document VARCHAR2 (23767)
CONSTRAINT ensure_json CHECK (po_document IS JSON));