public static Version GetVersionPropertyEx()

in JetBrains.Etw.HostService.Updater/src/Util/JsonUtil.cs [79:85]


    public static Version GetVersionPropertyEx(this JsonElement element, [NotNull] string propertyName) => element.GetPropertyEx(propertyName, x =>
      {
        var str = x.GetString() ?? "";
        if (!Version.TryParse(str!, out var res))
          throw new FormatException($"Failed to parse the version value {str}");
        return res;
      });