if (arg._isfieldmapper) { /* magi-c-ast for fieldmapper objects */
- if( arg.array.constructor != Array ) {
+ if( arg.a.constructor != Array ) {
var arr = new Array();
- for( var i = 0; i < arg.array.length; i++ ) {
- if( arg.array[i] == null ) {
+ for( var i = 0; i < arg.a.length; i++ ) {
+ if( arg.a[i] == null ) {
arr[i] = null; continue;
}
- if( typeof arg.array[i] != 'object' ) {
- arr[i] = arg.array[i];
+ if( typeof arg.a[i] != 'object' ) {
+ arr[i] = arg.a[i];
- } else if( typeof arg.array[i] == 'object'
- && arg.array[i]._isfieldmapper) {
+ } else if( typeof arg.a[i] == 'object'
+ && arg.a[i]._isfieldmapper) {
- arr[i] = arg.array[i];
+ arr[i] = arg.a[i];
} else {
- arr[i] = object2Array(arg.array[i]);
+ arr[i] = object2Array(arg.a[i]);
}
}
- arg.array = arr;
+ arg.a = arr;
}
- return "/*--S " + arg.classname + " --*/" + js2JSON(arg.array) + "/*--E " + arg.classname + " --*/";
+ return "/*--S " + arg.classname + " --*/" + js2JSON(arg.a) + "/*--E " + arg.classname + " --*/";
} else {