add support for allocators to the json parser

fix cx_array_advanced_realloc to handle reallocation of NULL arrays, consistent with standard realloc behavior

(0) -300 -100 -30 -10 -2 +2 +10 +30 tip

mercurial