getJsonMap function

Map getJsonMap(
  1. Project prj, [
  2. List<String> args = const []
])

This function gets a json representation(Map) of the tree structure before generating the files. This is the same that is used as the objd.json output in debug mode.

Implementation

Map getJsonMap(Project prj, [List<String> args = const []]) {
  var opt = GenOptions(args);
  return BuildProject(
    prj,
    prod: opt.prod,
    logging: false,
  ).toMap();
}