Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

decode a nested JSON with php

foreach($json as $elem)  {
   echo( $elem['name']." - ".$elem['favourite']['colour'] );
   echo("<br/>");
}

Source by www.opentechguides.com #
 
PREVIOUS NEXT
Tagged: #decode #nested #JSON #php
ADD COMMENT
Topic
Name
6+8 =