Commit Graph
59 Commits
Author SHA1 Message Date
stakx 7644768580 Make JsonValidatingReader close underlying reader
Add `Close` method override in `JsonValidatingReader` so that the
`CloseInput` property is observed properly. Also add a corresponding
unit test.
2016-12-26 12:21:45 +01:00
Pyit Phyo Aung 26ae7d07fc Break up JsonTextReaderTest class into smaller test classes 2016-10-14 00:20:09 +13:00
Pyit Phyo Aung 0115df6e39 Merge branch 'master' into Move-classes-to-files-under-TestObjects
# Conflicts:
#	Src/Newtonsoft.Json.Tests/Converters/IsoDateTimeConverterTests.cs
#	Src/Newtonsoft.Json.Tests/Linq/JObjectTests.cs
#	Src/Newtonsoft.Json.Tests/Schema/ExtensionsTests.cs
#	Src/Newtonsoft.Json.Tests/Serialization/DependencyInjectionTests.cs
#	Src/Newtonsoft.Json.Tests/Serialization/ExtensionDataTests.cs
#	Src/Newtonsoft.Json.Tests/Serialization/PopulateTests.cs
#	Src/Newtonsoft.Json.Tests/Serialization/TypeNameHandlingTests.cs
#	Src/Newtonsoft.Json.Tests/TestObjects/Money/Currency.cs
2016-10-13 14:49:15 +13:00
Pyit Phyo Aung 42d6225acd Move more classes to files under TestObjects 2016-10-13 12:29:26 +13:00
Pyit Phyo Aung f50f276b76 Clean up NETFX_CORE directive usage 2016-10-11 14:14:13 +13:00
James Newton-King 52fbb613d7 -Refactored naming strategy to be an abstract base class 2016-05-28 23:56:58 +12:00
James Newton-King d453089b58 Merge branch 'master' into naming-strategy 2016-05-28 10:03:56 +12:00
Taylor Wood 07b72a5637 Fix spelling of "parameterized" 2016-05-24 11:41:40 -05:00
James Newton-King 3674af9119 -Added INamingStrategy
-Added CamelCaseNamingStrategy
-Added NamingStrategyType and NamingStrategyParameters to JsonPropertyAttribute
-Added NamingStrategyType and NamingStrategyParameters to JsonContainerAttribute
2016-03-20 19:13:44 +13:00
James Newton-King d86d2fa23d -Added project specific project.json files 2015-09-22 11:38:13 +12:00
James Newton-King 8e68f23492 -Set project's intermediate output path 2015-03-21 21:33:18 +13:00
James Newton-King a2e15adf80 -Added AttributeProvider
-Increament version to 7.0.1
2014-12-23 10:57:17 +00:00
James Newton-King 64ffa098b9 -Fixed null reference error when using JEnumerable created with default constructor
-Tests
2014-09-25 20:28:47 +12:00
James Newton-King 6bb1b77fa4 -Fixed tests 2014-09-12 20:14:53 +12:00
James Newton-King 7fcd12e2cf -Fixed build 2014-09-10 20:25:35 +12:00
James Newton-King eb1c683de3 -Updated version to 6.0.5 2014-09-06 15:14:34 +12:00
James Newton-King 4a375721ac -Added support for constructors with out and ref parameters 2014-08-31 15:33:19 +12:00
James Newton-King 57bd1f7daf -Fixed performance issue serializing XML document with a large number of nodes 2014-05-09 14:47:10 +12:00
James Newton-King 2039a29d91 -Rename SpecialPropertyHandling to MetadataPropertyHandling 2014-04-27 15:05:22 +12:00
James Newton-King 6965fcfa46 -Fixed potential race condition serializing F# objects
-Fixed schema divisible sometimes incorrectly validating to false
-Fixed not calling virtual ShouldSerialize methods
2014-03-31 15:47:36 +13:00
James Newton-King 0f77cd1b03 -Added SpecialPropertiesHandling 2014-02-12 01:43:46 +13:00
James Newton-King 7ab381f2e8 -Fixed builds 2013-12-08 14:38:03 +13:00
James Newton-King 44bc7ea246 -Removed SL/WP code and fiels 2013-10-20 16:41:15 +13:00
James Newton-King 423d065c8f -Added support for immutable collections
-Updated NUnit assembly source to NuGet
2013-07-09 00:12:09 +12:00
James Newton-King 6f2b931a90 -Fixed deserializing Regex when using StringEnumConverter
-Fixed serializing and deserializing typed DataSets
2013-05-04 15:28:01 +12:00
James Newton-King c2a7341dbc -Added compiled expressions reflection option 2013-04-24 22:56:53 +12:00
James Newton-King b6d3168ed8 -Refactored parsing dates
-Refactored writing integers
-Refactored JsonConvert
2013-04-21 18:27:08 +12:00
James Newton-King aab01d93ca -Added IConvertible support to JValue
-Changed IDictionary<DateTime, object> to be serialized in ISO date format
-Fixed DataContractAttribute to not be inherited
2013-03-11 19:23:23 +13:00
James Newton-King 89883dc57b -Added ITraceWriter
-Fixed .NET 2.0 build using DateTimeOffset
2012-11-09 17:10:32 +13:00
James Newton-King 7b776e9298 -Added JsonDictionaryAttribute
-Added JsonContainerContract
-Added support for customizing the JsonConverter, type name handling, reference handling of collection items
2012-04-22 23:17:58 +12:00
James Newton-King e3cec969ef -Added support for Serializable attribute and MemberSerialization.Fields
-Added support for ignoring properties with NonSerializable attribute
-Added MaxDepth to JsonReader/JsonSerializer/JsonSerializerSettings
2012-04-08 19:33:09 +12:00
James Newton-King 83618b1ea0 -Line endings 2012-04-08 18:10:07 +12:00
JamesNK 49328ddeb0 -Incremented version to 4.0.8
-Added VersionConverter
-Fixed converting XML to JSON with a default namespace
-Changed Silverlight/Windows Phone assemblies to not be signed
2012-02-10 11:33:45 +00:00
JamesNK 06d92a8963 -Fixed not replacing ignored properties in JsonPropertyCollection 2012-02-09 11:11:23 +00:00
JamesNK 3fcf02a653 -Changed the assembly file names to all be Newtonsoft.Json.dll to fix NuGet referencing 2011-10-01 07:41:11 +00:00
JamesNK ba6ec3202e -Changed Newtonsoft.Json.Net20.dll to use LinqBridge source code rather than ilmerge to fix error 2011-06-25 04:10:33 +00:00
JamesNK 045a1ec334 -Improved support for deserializing objects using non-default constructors
-JsonConverterAttribute now allowed on constructor parameters
-JsonPropertyAttribute now allowed on constructor parameters
2011-05-02 10:52:01 +00:00
JamesNK 336f14b3d2 -Added NuPack to build process
-Fixed deserializing structs when reusing existing values
-Renamed Windows Phone 7 dll to Newtonsoft.Json.WindowsPhone.dll
2010-10-12 07:15:13 +00:00
JamesNK 12a91cce9e -Updated source code to VS2010
-Updated main project to .NET 4.0
-Updated to psake 4.0
-Changed assembly version to 4.0.0.0
-Added ICustomTypeDescriptor implementation to JObject, removed JTypeDescriptionProvider and JTypeDescriptor
-Changed serialization of collections to use iterator rather than indexer
-Removed Compact Framework project
-Fixed XML documentation warnings
2010-08-31 02:19:41 +00:00
JamesNK 08b8477f5e -Fixed generating generic simple type names
-Changed JsonObjectAttribute to be compatible with structs
2010-07-06 10:20:10 +00:00
JamesNK c9ec228942 -Removed HtmlColorConverter to remove System.Drawing.dll dependency
-Fixed culture invariance
-Fixed serialization attributes to work in .NET 2.0
2010-07-01 10:27:18 +00:00
JamesNK f7cc6abfd9 -Added support for enum values to LINQ to JSON
-Added TypeNameAssemblyFormat property to JsonSerializer. Property controls whether .NET type names are written with a full or partial assembly name
-Added TypeNameHandling to JsonProperty attribute. Allows a type names to be included on an individual property basis
-Fixed serializing HashSet<T>
-Additional permission demands added to DynamicCodeGeneration flag
2010-04-02 09:56:43 +00:00
JamesNK b0c6db675e -Added WriteRegex to BsonWriter
-Added RegexConverter
-Fixed BsonWriter writing empty string instead of null
2010-03-27 06:18:40 +00:00
JamesNK 6d67aefac7 -Added ReflectionDelegateFactory, DynamicReflectionDelegateFactory and LateBoundDelegateFactory to support switching between dynamic and late bound reflection for medium trust environments
-Added WriteObjectId to BsonWriter
-Added BsonObjectId and BsonObjectIdConverter classes
-Added KeyValuePairConverter
-Added DynamicCodeGeneration flag to DefaultContractResolver
-Changed JsonConverter.ReadJson to add an extra parameter: currentValue
2010-03-17 06:53:47 +00:00
JamesNK dba4e783fe -Build
-Tests
2010-03-05 09:20:29 +00:00
JamesNK c7facae789 -Added GetSchema, CanRead, CanWrite to JsonConverter
-Fix CustomCreationConverter erroring when writing JSON
2010-02-06 22:55:36 +00:00
JamesNK bb8e2217cd -Move NUnit dlls 2010-02-06 00:00:52 +00:00
JamesNK be6ed7daaa -Added ReadRootValueAsArray, DateTimeKindHandling properties to BsonReader
-Included BSON is .NET 2.0, Silverlight and Compact Framework builds
2010-01-22 22:17:56 +00:00
JamesNK 974178a162 -Performance 2009-12-29 02:53:53 +00:00
JamesNK 961945657a -Added JsonPrimitiveContract and JsonLinqContract
-Removed JsonRaw and replaced with JRaw
-Fixed properties on existing derived values not being populated during deserialization
2009-12-27 03:30:43 +00:00