Skip to content

Instantly share code, notes, and snippets.

@uptownhr
Created February 20, 2015 00:14
Show Gist options
  • Save uptownhr/58075eb08343dfebd616 to your computer and use it in GitHub Desktop.
Save uptownhr/58075eb08343dfebd616 to your computer and use it in GitHub Desktop.
$json = "{
rule_type: 'standard',
aggregate: {
action: 'sum',
column: 'amount'
},
trans_type: ['a','o','r'],
interval: 'monthly',
value: {
gt: 1000000
}
}";
print_r( json_decode($json,true) );
//outputs nothing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment