How to use prettyjson

Comprehensive prettyjson code examples:

How to use prettyjson.render:

341
342
343
344
345
346
347
348
349
350
      }
      else {
        console.log('No such action: ' + actionName);
        console.log('Available actions [' + acts.length + ']:');
        for (var i = 0, len = acts.length; i < len; i++) {
          console.log(" " + i + " : " + prettyjson.render(acts[i].name));
        }
      }
    }
};