Last active
August 29, 2015 14:19
-
-
Save marcosfreitas/85db9a62ac81f5e9f246 to your computer and use it in GitHub Desktop.
JSON what will be returned to search of Semantic UI - JSON que será retornado para a pesquisa (search) do Semantic UI.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header('Content-type: application/json; charset=utf-8'); | |
$colors = '{"results" :[ | |
{ | |
"title":"red", | |
"description":"dark red like blood" | |
}, | |
{ | |
"title":"green", | |
"description":"the vegetation is green" | |
}, | |
{ | |
"title":"blue", | |
"description":"the oceans sometimes are blue" | |
}, | |
{ | |
"title":"cyan", | |
"description": "cyan? this is light blue!" | |
}, | |
{ | |
"title":"magenta", | |
"description":"magenta like pink" | |
}, | |
{ | |
"title":"yellow", | |
"description":"the color of the yeloow power ranger" | |
} | |
] | |
}'; | |
echo $colors; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment