diff --git a/src/ServiceStack.Text/JsonObject.cs b/src/ServiceStack.Text/JsonObject.cs index ff0f2af90..b2bc96b87 100644 --- a/src/ServiceStack.Text/JsonObject.cs +++ b/src/ServiceStack.Text/JsonObject.cs @@ -74,10 +74,14 @@ public static Dictionary ToDictionary(this JsonObject jsonObject public class JsonObject : Dictionary { - /// - /// Get JSON string value - /// - public new string this[string key] + public JsonObject() : base(StringComparer.OrdinalIgnoreCase) + { + } + + /// + /// Get JSON string value + /// + public new string this[string key] { get { return this.Get(key); } set { base[key] = value; } diff --git a/src/ServiceStack.Text/Properties/AssemblyInfo.cs b/src/ServiceStack.Text/Properties/AssemblyInfo.cs index 448533b9a..6b54702cf 100644 --- a/src/ServiceStack.Text/Properties/AssemblyInfo.cs +++ b/src/ServiceStack.Text/Properties/AssemblyInfo.cs @@ -33,5 +33,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("4.0.0.0")] -[assembly: AssemblyFileVersion("4.0.0.0")] +[assembly: AssemblyVersion("4.5.6.0")] +[assembly: AssemblyFileVersion("4.5.6.0")] diff --git a/src/ServiceStack.Text/project.json b/src/ServiceStack.Text/project.json index 746d5c65b..376218cec 100644 --- a/src/ServiceStack.Text/project.json +++ b/src/ServiceStack.Text/project.json @@ -1,78 +1,84 @@ -{ - "configurations": { - "Debug": { - "buildOptions": { - "define": [ - "DEBUG", - "TRACE" - ] - } - }, - "Release": { - "buildOptions": { - "define": [ - "TRACE" - ], - "optimize": true - } - } - }, - "dependencies": { - "NETStandard.Library": "1.6.0" - }, - "frameworks": { - "netstandard1.1": { - "dependencies": { - "System.Runtime.Serialization.Primitives": "4.1.1-*", - "System.Runtime.Serialization.Xml": "4.1.1", - "System.Net.Requests": "4.0.11", - "System.Dynamic.Runtime": "4.0.11", - "Microsoft.CSharp": "4.0.1-*", - "System.Reflection.Emit": "4.0.1", - "System.Reflection.Emit.LightWeight" : "4.0.1", - "System.Reflection.Extensions": "4.0.1", - "System.Linq.Expressions": "4.1.0", - "System.Runtime.InteropServices.RuntimeInformation" : "4.0.0" - } - }, - "netstandard1.3": { - "buildOptions": { - "define": [ - "NETSTANDARD1_1" - ] - }, - "dependencies": { - "System.Runtime.Serialization.Primitives": "4.1.1-*", - "System.Runtime.Serialization.Xml": "4.1.1", - "System.Net.Requests": "4.0.11", - "System.Dynamic.Runtime": "4.0.11", - "Microsoft.CSharp": "4.0.1-*", - "System.Linq.Expressions": "4.1.0", - "System.Collections": "4.0.11", - "System.Collections.Concurrent": "4.0.12", - "System.Collections.NonGeneric": "4.0.1", - "System.Collections.Specialized": "4.0.1", - "System.Reflection": "4.1.0", - "System.Reflection.Emit": "4.0.1", - "System.Reflection.Emit.Lightweight": "4.0.1", - "System.Reflection.Extensions": "4.0.1", - "System.Reflection.TypeExtensions": "4.1.0" - } - }, - ".NETPortable,Version=v4.5,Profile=Profile7": { - "buildOptions": { - "define": [ - "PCL" - ] - }, - "frameworkAssemblies": { - "System.Runtime.Serialization.Primitives": "4.0.0", - "System.Runtime.Serialization.Xml": "4.0.0", - "System.Net.Requests": "4.0.0", - "System.Dynamic.Runtime": "4.0.0", - "Microsoft.CSharp": "4.0.0" - } - } - }, - "version": "1.0.0" +{ + "name": "Scope.ServiceStack.Text", + "configurations": { + "Debug": { + "buildOptions": { + "define": [ + "DEBUG", + "TRACE" + ] + } + }, + "Release": { + "buildOptions": { + "define": [ + "TRACE" + ], + "optimize": true + } + } + }, + "dependencies": { + "NETStandard.Library": "1.6.0" + }, + "frameworks": { + "netstandard1.1": { + "dependencies": { + "System.Runtime.Serialization.Primitives": "4.1.1-*", + "System.Runtime.Serialization.Xml": "4.1.1", + "System.Net.Requests": "4.0.11", + "System.Dynamic.Runtime": "4.0.11", + "Microsoft.CSharp": "4.0.1-*", + "System.Reflection.Emit": "4.0.1", + "System.Reflection.Emit.LightWeight": "4.0.1", + "System.Reflection.Extensions": "4.0.1", + "System.Linq.Expressions": "4.1.0", + "System.Runtime.InteropServices.RuntimeInformation": "4.0.0" + } + }, + "netstandard1.3": { + "buildOptions": { + "define": [ + "NETSTANDARD1_1" + ] + }, + "dependencies": { + "System.Runtime.Serialization.Primitives": "4.1.1-*", + "System.Runtime.Serialization.Xml": "4.1.1", + "System.Net.Requests": "4.0.11", + "System.Dynamic.Runtime": "4.0.11", + "Microsoft.CSharp": "4.0.1-*", + "System.Linq.Expressions": "4.1.0", + "System.Collections": "4.0.11", + "System.Collections.Concurrent": "4.0.12", + "System.Collections.NonGeneric": "4.0.1", + "System.Collections.Specialized": "4.0.1", + "System.Reflection": "4.1.0", + "System.Reflection.Emit": "4.0.1", + "System.Reflection.Emit.Lightweight": "4.0.1", + "System.Reflection.Extensions": "4.0.1", + "System.Reflection.TypeExtensions": "4.1.0" + } + }, + ".NETPortable,Version=v4.5,Profile=Profile7": { + "buildOptions": { + "define": [ + "PCL" + ] + }, + "frameworkAssemblies": { + "System.Runtime.Serialization.Primitives": "4.0.0", + "System.Runtime.Serialization.Xml": "4.0.0", + "System.Net.Requests": "4.0.0", + "System.Dynamic.Runtime": "4.0.0", + "Microsoft.CSharp": "4.0.0" + } + } + }, + "version": "4.0.0", + "scripts": { + "postcompile": [ + "dotnet pack --no-build --configuration %compile:Configuration%" + ] + } } \ No newline at end of file