Skip to content

Releases: NetLah/Dynamic.Json

New Build Update Dependencies

16 Sep 03:27
Compare
Choose a tag to compare
Pre-release
  • Use NetLah.AssemblyInfo.BuildTime.Target@0.2.0-rc1
  • Drop reference NetLah.Abstractions

New build for .NET 6.0 RC2 dependencies

18 Oct 08:17
Compare
Choose a tag to compare
Pre-release
  • New build for .NET 6.0 RC2 dependencies
  • Explicit dependencies on multi Target Frameworks net6.0, net5.0, netstandard2.0

Support multi Target Frameworks: net6.0, net5.0, netstandard2.0

17 Sep 04:38
Compare
Choose a tag to compare

Support multi Target Frameworks: net6.0, net5.0, netstandard2.0

First preview version for basic feature v1.0.0-preview2

17 Sep 04:28
Compare
Choose a tag to compare

Basic feature

const string json = "[ 123, \"abc\", { \"iss\": \"Sso Issuer\", \"iat\": 1607746395 }]";
var djson = System.Text.Json.JsonSerializer.Deserialize<DJson>(json);
Assert.Equal(3, djson.CountMembers);
Assert.Equal(123, (int)(long)djson[0]);
Assert.Equal(123L, djson[0]);
Assert.Equal("abc", djson[1]);
var jwtPayload = (DJson)djson[2];
Assert.Equal("Sso Issuer", jwtPayload["iss"]);
Assert.Equal(1607746395L, jwtPayload["iat"]);

Preview version for basic feature v1.0.0-beta.2

17 Dec 09:28
Compare
Choose a tag to compare

Basic feature

const string json = "[ 123, \"abc\", { \"iss\": \"Sso Issuer\", \"iat\": 1607746395 }]";
var djson = System.Text.Json.JsonSerializer.Deserialize<DJson>(json);
Assert.Equal(3, djson.CountMembers);
Assert.Equal(123, (int)(long)djson[0]);
Assert.Equal(123L, djson[0]);
Assert.Equal("abc", djson[1]);
var jwtPayload = (DJson)djson[2];
Assert.Equal("Sso Issuer", jwtPayload["iss"]);
Assert.Equal(1607746395L, jwtPayload["iat"]);

First preview version for basic feature v1.0.0-beta.1

13 Dec 01:29
Compare
Choose a tag to compare

Basic feature

const string json = "[ 123, \"abc\", { \"iss\": \"Sso Issuer\", \"iat\": 1607746395 }]";
var djson = System.Text.Json.JsonSerializer.Deserialize<DJson>(json);
Assert.Equal(3, djson.CountMembers);
Assert.Equal(123, (int)(long)djson[0]);
Assert.Equal(123L, djson[0]);
Assert.Equal("abc", djson[1]);
var jwtPayload = (DJson)djson[2];
Assert.Equal("Sso Issuer", jwtPayload["iss"]);
Assert.Equal(1607746395L, jwtPayload["iat"]);