From bb837a36865810a9138e5f3d5fd586d316c7d25b Mon Sep 17 00:00:00 2001 From: Yoshifumi Kawai Date: Fri, 19 Jan 2018 23:51:14 +0900 Subject: [PATCH] Ready to 1.3.5 --- docs/Utf8Json.AspNetCoreMvcFormatter.nuspec | 6 +++--- docs/Utf8Json.ImmutableCollection.nuspec | 8 ++++---- docs/Utf8Json.UnityShims.nuspec | 8 ++++---- docs/Utf8Json.nuspec | 2 +- docs/push.bat | 8 ++++---- sandbox/ConsoleAppNetCore/Program.cs | 14 +++++++++----- .../_AssemblyInfo.cs | 4 ++-- src/Utf8Json.ImmutableCollection/_AssemblyInfo.cs | 4 ++-- src/Utf8Json.UnityShims/_AssemblyInfo.cs | 4 ++-- src/Utf8Json/_AssemblyInfo.cs | 4 ++-- 10 files changed, 33 insertions(+), 29 deletions(-) diff --git a/docs/Utf8Json.AspNetCoreMvcFormatter.nuspec b/docs/Utf8Json.AspNetCoreMvcFormatter.nuspec index 6fe0090..d5c16e2 100644 --- a/docs/Utf8Json.AspNetCoreMvcFormatter.nuspec +++ b/docs/Utf8Json.AspNetCoreMvcFormatter.nuspec @@ -2,7 +2,7 @@ Utf8Json.AspNetCoreMvcFormatter - 1.3.4 + 1.3.5 Utf8Json AspNetCoreMvcFormatter neuecc neuecc @@ -13,11 +13,11 @@ Json, Serialization, Formatter, Serializer, Unity, Xamarin, ASPNET - + - + diff --git a/docs/Utf8Json.ImmutableCollection.nuspec b/docs/Utf8Json.ImmutableCollection.nuspec index df4852f..172bf9e 100644 --- a/docs/Utf8Json.ImmutableCollection.nuspec +++ b/docs/Utf8Json.ImmutableCollection.nuspec @@ -2,7 +2,7 @@ Utf8Json.ImmutableCollection - 1.3.4 + 1.3.5 Utf8Json Extension Resolver for ImmutableCollection neuecc neuecc @@ -12,15 +12,15 @@ Json, Serialization, Formatter, Serializer, Unity, Xamarin - + - + - + diff --git a/docs/Utf8Json.UnityShims.nuspec b/docs/Utf8Json.UnityShims.nuspec index 4759fd8..5dfb0ad 100644 --- a/docs/Utf8Json.UnityShims.nuspec +++ b/docs/Utf8Json.UnityShims.nuspec @@ -2,7 +2,7 @@ Utf8Json.UnityShims - 1.3.4 + 1.3.5 Utf8Json UnityShims neuecc neuecc @@ -12,15 +12,15 @@ Json, Serialization, Formatter, Serializer, Unity, Xamarin - + - + - + diff --git a/docs/Utf8Json.nuspec b/docs/Utf8Json.nuspec index a304ca2..d2bd9e7 100644 --- a/docs/Utf8Json.nuspec +++ b/docs/Utf8Json.nuspec @@ -2,7 +2,7 @@ Utf8Json - 1.3.4 + 1.3.5 Utf8Json neuecc neuecc diff --git a/docs/push.bat b/docs/push.bat index 2734e4f..c4b0ec7 100644 --- a/docs/push.bat +++ b/docs/push.bat @@ -1,4 +1,4 @@ -nuget push Utf8Json.1.3.4.nupkg -Source https://www.nuget.org/api/v2/package -nuget push Utf8Json.ImmutableCollection.1.3.4.nupkg -Source https://www.nuget.org/api/v2/package -nuget push Utf8Json.UnityShims.1.3.4.nupkg -Source https://www.nuget.org/api/v2/package -nuget push Utf8Json.AspNetCoreMvcFormatter.1.3.4.nupkg -Source https://www.nuget.org/api/v2/package \ No newline at end of file +nuget push Utf8Json.1.3.5.nupkg -Source https://www.nuget.org/api/v2/package +nuget push Utf8Json.ImmutableCollection.1.3.5.nupkg -Source https://www.nuget.org/api/v2/package +nuget push Utf8Json.UnityShims.1.3.5.nupkg -Source https://www.nuget.org/api/v2/package +nuget push Utf8Json.AspNetCoreMvcFormatter.1.3.5.nupkg -Source https://www.nuget.org/api/v2/package \ No newline at end of file diff --git a/sandbox/ConsoleAppNetCore/Program.cs b/sandbox/ConsoleAppNetCore/Program.cs index d44c9d3..b9f4830 100644 --- a/sandbox/ConsoleAppNetCore/Program.cs +++ b/sandbox/ConsoleAppNetCore/Program.cs @@ -9,6 +9,12 @@ using System.Linq; using System.Text; + +public class FooException : Exception +{ + public int Bar { get; set; } +} + namespace ConsoleAppNetCore { public class CustomPoint @@ -329,11 +335,9 @@ public void SetId(Guid id) static unsafe void Main(string[] args) { - var origstr = new string('a', 99999); - var str = "\"" + origstr + "\""; - - var serialized = JsonSerializer.Serialize(str); - var deserialized = JsonSerializer.Deserialize(serialized); + var ex = new Exception("ABC", new FooException { Bar = 100 }); + var json = JsonSerializer.ToJsonString(ex); + Console.WriteLine(JsonSerializer.PrettyPrint(json)); } diff --git a/src/Utf8Json.AspNetCoreMvcFormatter/_AssemblyInfo.cs b/src/Utf8Json.AspNetCoreMvcFormatter/_AssemblyInfo.cs index 11eff79..7508bd4 100644 --- a/src/Utf8Json.AspNetCoreMvcFormatter/_AssemblyInfo.cs +++ b/src/Utf8Json.AspNetCoreMvcFormatter/_AssemblyInfo.cs @@ -12,5 +12,5 @@ [assembly: ComVisible(false)] [assembly: Guid("899f8b6c-c4c7-4e8b-9875-f61fdfb630bd")] -[assembly: AssemblyVersion("1.3.4")] -[assembly: AssemblyFileVersion("1.3.4")] \ No newline at end of file +[assembly: AssemblyVersion("1.3.5")] +[assembly: AssemblyFileVersion("1.3.5")] \ No newline at end of file diff --git a/src/Utf8Json.ImmutableCollection/_AssemblyInfo.cs b/src/Utf8Json.ImmutableCollection/_AssemblyInfo.cs index fa7aad7..5e76789 100644 --- a/src/Utf8Json.ImmutableCollection/_AssemblyInfo.cs +++ b/src/Utf8Json.ImmutableCollection/_AssemblyInfo.cs @@ -12,5 +12,5 @@ [assembly: ComVisible(false)] [assembly: Guid("2e7ac239-3db1-4772-9f47-5f62abb56ed0")] -[assembly: AssemblyVersion("1.3.4")] -[assembly: AssemblyFileVersion("1.3.4")] \ No newline at end of file +[assembly: AssemblyVersion("1.3.5")] +[assembly: AssemblyFileVersion("1.3.5")] \ No newline at end of file diff --git a/src/Utf8Json.UnityShims/_AssemblyInfo.cs b/src/Utf8Json.UnityShims/_AssemblyInfo.cs index 3b5603e..2185438 100644 --- a/src/Utf8Json.UnityShims/_AssemblyInfo.cs +++ b/src/Utf8Json.UnityShims/_AssemblyInfo.cs @@ -12,5 +12,5 @@ [assembly: ComVisible(false)] [assembly: Guid("bf5d0a42-70b7-417d-af8c-2f7e073057e2")] -[assembly: AssemblyVersion("1.3.4")] -[assembly: AssemblyFileVersion("1.3.4")] \ No newline at end of file +[assembly: AssemblyVersion("1.3.5")] +[assembly: AssemblyFileVersion("1.3.5")] \ No newline at end of file diff --git a/src/Utf8Json/_AssemblyInfo.cs b/src/Utf8Json/_AssemblyInfo.cs index 8d9dec0..5d5759f 100644 --- a/src/Utf8Json/_AssemblyInfo.cs +++ b/src/Utf8Json/_AssemblyInfo.cs @@ -12,5 +12,5 @@ [assembly: ComVisible(false)] [assembly: Guid("929e3779-4c3a-42a3-bc72-3d77511e988f")] -[assembly: AssemblyVersion("1.3.4")] -[assembly: AssemblyFileVersion("1.3.4")] +[assembly: AssemblyVersion("1.3.5")] +[assembly: AssemblyFileVersion("1.3.5")]