*/
public JsonValue createJsonArray(Object array) throws JsonException
{
if (array == null)
{
return new NullValue();
}
Types t = JsonUtils.getType(array);
if (t == Types.ARRAY_BOOLEAN || t == Types.ARRAY_BYTE || t == Types.ARRAY_SHORT || t == Types.ARRAY_INT
|| t == Types.ARRAY_LONG || t == Types.ARRAY_FLOAT || t == Types.ARRAY_DOUBLE || t == Types.ARRAY_CHAR
|| t == Types.ARRAY_STRING || t == Types.ARRAY_OBJECT)