Beispiel #1
0
 /// <summary>
 /// Parse metadata from HJSON (Human JSON) format
 /// </summary>
 /// <param name="hjson"></param>
 /// <param name="packmeta"></param>
 /// <param name="parentRepo">Optionally a parent repository can be specified. This is used mostly for keeping dependency contexts correct.</param>
 public static void ParseFromHjson(string hjson, ref PackageMeta packmeta, string parentRepo = "")
 {
     packmeta = packmeta ?? new PackageMeta();
     ParseFromJson(HjsonValue.Parse(hjson).ToString(), ref packmeta, parentRepo);
 }