On Fri, Feb 5, 2016 at 11:23 AM, J Decker <d3ck0r at gmail.com> wrote:

> -------------
> var array = [1,2,,3];
> console.log( JSON.stringify( array ) );
> ---------
> outut : [1,2,null,3]
> ...
> So seems like having null in array for JSON is perfectly expected.
>

See also:

http://stackoverflow.com/questions/30585552/how-to-represent-an-array-with-empty-elements-in-json

tl;dr: "jsonlint" also says empty array elements aren't allowed.


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf

Reply via email to