public static Uri GetAbsoluteUriPropertyEx()

in JetBrains.Etw.HostService.Updater/src/Util/JsonUtil.cs [70:76]


    public static Uri GetAbsoluteUriPropertyEx(this JsonElement element, [NotNull] string propertyName) => element.GetPropertyEx(propertyName, x =>
      {
        var str = x.GetString() ?? "";
        if (!Uri.TryCreate(str, UriKind.Absolute, out var res))
          throw new FormatException($"Failed to parse the absolute URI value {str}");
        return res;
      });