Nodejs Utililty Methods Array Json Format

List of utility methods to do Array Json Format

Description

The list of methods to do Array Json Format are organized into topic(s).

Method

jsonFormat(obj)
var _ = require('underscore');
var data = [
  { name: "a", value: "1" },
  { name: "b", value: "2" },
  { name: "c", value: "3" },
  { name: "d", value: "4" },
  { name: "e", value: "5" }
];
Array.prototype.jsonFormat = function (obj) {
...