Subversion Repositories bacoAlunos

Rev

Rev 1786 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1786 Rev 1791
Line 237... Line 237...
237
            return angular.toJson(jsonObj);
237
            return angular.toJson(jsonObj);
238
        }
238
        }
239
    };
239
    };
240
})();
240
})();
241
 
241
 
-
 
242
/*var exampleBacoJs =
-
 
243
{
-
 
244
    "xpto" : 1,
-
 
245
    "@class" : "pt.estgp.estgweb.domain.XptoSchool",
-
 
246
    "zgt" : {
-
 
247
        "zgt1" : 1,
-
 
248
        "zgt2" : 2,
-
 
249
        "@class" : "pt.estgp.estgweb.domain.ZgtDepartment"
-
 
250
    }
-
 
251
}*/
-
 
252
//does not affect angular JS lib
-
 
253
//you can use-it with angular
242
//var orderedExample = BacoJS.stringifyOrdered(exampleBacoJs);
254
//var ordered = BacoJS.stringifyOrdered(exampleBacoJs);
243
//console.log(orderedExample);
255
//console.log(orderedExample);
244
 
256
 
245
 
257