Fix json-ld canonicalize bug in dotnetrdf instead
This commit is contained in:
parent
6bb356ea02
commit
09c0aabb0e
2 changed files with 3 additions and 3 deletions
|
@ -56,6 +56,6 @@ public static class LdHelpers {
|
||||||
public static JArray? Expand(object obj) => Expand(JToken.FromObject(obj));
|
public static JArray? Expand(object obj) => Expand(JToken.FromObject(obj));
|
||||||
public static JObject? Compact(JToken? json) => JsonLdProcessor.Compact(json, DefaultContext, Options);
|
public static JObject? Compact(JToken? json) => JsonLdProcessor.Compact(json, DefaultContext, Options);
|
||||||
public static JArray? Expand(JToken? json) => JsonLdProcessor.Expand(json, Options);
|
public static JArray? Expand(JToken? json) => JsonLdProcessor.Expand(json, Options);
|
||||||
public static string Canonicalize(JArray json) => JsonLdProcessor.Canonicalize(json.DeepClone() as JArray);
|
public static string Canonicalize(JArray json) => JsonLdProcessor.Canonicalize(json);
|
||||||
public static string Canonicalize(JObject json) => JsonLdProcessor.Canonicalize([json.DeepClone()]);
|
public static string Canonicalize(JObject json) => JsonLdProcessor.Canonicalize([json]);
|
||||||
}
|
}
|
|
@ -16,7 +16,7 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Asp.Versioning.Http" Version="8.0.0" />
|
<PackageReference Include="Asp.Versioning.Http" Version="8.0.0" />
|
||||||
<PackageReference Include="cuid.net" Version="5.0.2" />
|
<PackageReference Include="cuid.net" Version="5.0.2" />
|
||||||
<PackageReference Include="dotNetRdf.Core" Version="3.2.0-dev" />
|
<PackageReference Include="dotNetRdf.Core" Version="3.2.1-dev" />
|
||||||
<PackageReference Include="Isopoh.Cryptography.Argon2" Version="2.0.0" />
|
<PackageReference Include="Isopoh.Cryptography.Argon2" Version="2.0.0" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.0" />
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.0" />
|
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.0" />
|
||||||
|
|
Loading…
Add table
Reference in a new issue