if (!strValue.startsWith("[")) {
strValue = "[" + strValue + "]";
}
JSONSerializer serializer = new JSONSerializer();
serializer.registerDefaultSerializers();
Object objValue = serializer.fromJSON(strValue);
if (objValue.getClass().isArray()) {
arrayValue = new NSArray((Object[]) objValue);
}
else if (objValue instanceof Collection) {
arrayValue = new NSArray((Collection) objValue);