On Tue, May 31, 2011 at 4:36 PM, dukeofgaming <dukeofgam...@gmail.com>wrote:
> Hi, > > I'm glad the topic has been picked up again, but I think there is an > inconsistency in the proposal now that we are talking about being JSON-ish: > JSON describes objects, not arrays. Then, what if "[]" were used for arrays > and "{}" for objects?, so that: > > [1,2,3] //array(0=>1, 1=>2, 2=>3) > ['one':1, 'two':2, 'three' : 3] // array('one'=>1, 'two'=>2, 'three' => 3) > ['one':1, 'two':2, 'three' : 3] // (object)array('one'=>1, 'two'=>2, > 'three' => 3) > > Err, I meant: {'one':1, 'two':2, 'three' : 3} // (object)array('one'=>1, 'two'=>2, 'three' => 3)