Update Array.class.php

Added support for JSON strings