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
857d72530c
-Change reading schema references to ignore additional content after the $ref property
2011-06-01 07:12:46 +00:00
JamesNK
3997b601ff
-Added Count to JContainer
...
-Minor fixes and improvements
2011-05-28 01:49:26 +00:00
JamesNK
203f79ae9c
-Rewrote LINQ to JSON internals to use lists and dictionaries rather than a linked list
...
-Moved JPropertyDescriptor to Newtonsoft.Json.Linq namespace
2011-05-28 00:46:39 +00:00
JamesNK
b3cc3e88ac
-Rewrote LINQ to JSON internals to use lists and dictionaries rather than a linked list
...
-Moved JPropertyDescriptor to Newtonsoft.Json.Linq namespace
2011-05-28 00:46:38 +00:00
JamesNK
cc44f53c1a
-Fixed serializing objects with DataContract and DataMember attributes on base classes
...
-JsonObject and JsonProperty attributes can now be placed on an interface and used when serializing implementing objects
2011-05-21 12:55:42 +00:00
JamesNK
76706c6cd2
-Fixed BsonWriter failing silently when writing values outside of an Object or Array
...
-Fixed serializer attempting to use dynamic code generation in partial trust
2011-05-21 04:05:48 +00:00
JamesNK
6b2238c39c
-Added Serializable attribute to exceptions
...
-Fixed deserializing null values into DataTables
-Fixed error when deserializing readonly IEnumerable<T> array properties
-Fixed not including type name for byte[] values
2011-05-07 02:16:26 +00:00
JamesNK
1197d35cbb
-Herp derp
2011-05-02 11:53:16 +00:00
JamesNK
e04432b7e7
-Fixed converting emtpy XML elements with an array attribute not writing other attributes
2011-05-02 11:25:06 +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
21a2a7e4f7
-Demo
...
-Changed build script to support NuGet profiles
2011-04-22 03:11:42 +00:00
JamesNK
2c190ec438
-Fixed objects created with paramatized constructors to not set properties that aren't in JSON
2011-04-21 23:18:19 +00:00
JamesNK
1e75151dda
-Updated build process to embed the build number as assembly version
2011-04-10 06:39:15 +00:00
JamesNK
b26d5c4850
-Updated NuGet.exe to 1.2
...
-Changed NuGet spec file to include client profiles
2011-04-10 03:22:05 +00:00
JamesNK
48f3242095
-Fixed DefaultValueHandling including a property when the default value is the same value but a different type
2011-04-10 02:53:43 +00:00
JamesNK
1ab8f8b686
-Added add/subtract/multiply/divide to dynamic JValue
2011-04-10 01:25:09 +00:00
JamesNK
b476a8d0fc
-Fixed comments in JSON sometimes causing errors when deserializing
2011-03-26 01:25:10 +00:00
JamesNK
dffe08021d
-Added EnumMemberAttribute support to StringEnumConverter
2011-03-25 23:49:13 +00:00
JamesNK
39056de238
-Fixed error when reflecting over type that has multiple index properties inherited
...
-Added ExpandoObjectConverter that deserializes to primitive values rather than LINQ to JSON objects for ExpandObjects
2011-03-25 22:08:41 +00:00
JamesNK
6a49425267
-Changed BsonReader/BsonWriter to close the underlying stream by default when closed
...
-Added CloseInput/CloseOutput to JsonReader/JsonWriter to control whether the underlying stream is closed. Default to true
2011-03-22 05:48:52 +00:00
JamesNK
6f0c382ba7
-Fixed error when reusing JsonSerializer with preserve references enabled
2011-03-22 05:15:55 +00:00
JamesNK
9e1c9e96fb
-CamelCasePropertyNamesContractResolver now updates dictionary and dynamic property names
2011-03-21 08:06:12 +00:00
JamesNK
71446e9772
-Added additional ToString overloads to JValue
...
-Fixed poor error message when dynamic type cannot be created during deserialization
-Fixed error when setting a null value on a dynamic type during deserialization
-Fixed JsonTextReader.ReadAsDecimal not attempting to convert string values to decimal
2011-02-24 10:14:08 +00:00
JamesNK
1824aa4b59
-Fixed duplicate type name within an assembly error
2011-02-24 01:46:00 +00:00
JamesNK
05a4395a94
-Fixed deserializing a DataTable property
2011-01-28 07:53:57 +00:00
JamesNK
868d6d3948
-Added Equals, NotEquals, GreaterThan, GreaterThanEquals, LesserThan, LesserThanEquals support to dynamic JValue
...
-Added IComparable to JValue
2011-01-17 07:19:20 +00:00
JamesNK
3535173716
-Added JsonConstructorAttribute to explicitly define which constructor to use during deserialization
...
-Added IFormattable to JValue
-Changed JValue ToString to call ToString on the internal value
-Fixed code emit error when deserializing interfaces in certain situations
2011-01-15 00:44:26 +00:00
JamesNK
5d062cc8f8
-Updated nuspec file
2011-01-08 23:38:41 +00:00
JamesNK
ac6c65f48a
-Updated nuspec file for 4.0
...
-Added Load and Parse helper methods to JToken
-Fixed performance issues when deserializing with partial type names
-Fixed deserializing certain decimal values on classes with non-default constructors
2011-01-08 04:39:33 +00:00
JamesNK
0fb78fdb91
-Updated readme
2011-01-04 01:05:52 +00:00
JamesNK
f048d129a9
-Disable Code Analysis in .NET 3.5 release build
2011-01-04 00:39:26 +00:00
JamesNK
bb9cba4953
-Fix dynamic serializing in Silverlight
2011-01-04 00:04:53 +00:00
JamesNK
af4bfff80e
-Updated readme files
2011-01-03 05:38:42 +00:00
JamesNK
a96f4d4248
-Upgraded Silverlight project to Silverlight 4
...
-Included .NET 4 features in Silverlight project
2011-01-03 05:19:57 +00:00
JamesNK
1aa3ff31a1
-Fixed building documentation in .NET 4
2011-01-02 11:08:37 +00:00
JamesNK
7f4c4af5a0
-Fixed signed build
...
-Updated package readme files
2011-01-02 10:38:32 +00:00
JamesNK
f00d796e03
-Added PatternProperties, ExclusiveMinimum and ExclusiveMaximum support to JSON schema
2011-01-02 09:19:53 +00:00
JamesNK
3ad33f7329
-Added ICloneable and DeepClone to JToken
...
-Changed DeepEquals to take into account possible floating point errors
2010-12-27 21:25:06 +00:00
JamesNK
f32e1f53c5
-Fixed JToken Load and Parse methods not checking for incomplete content
2010-12-27 10:06:35 +00:00
JamesNK
1297d64457
-Fixed DataSetConverter deserializing DataSet properties
2010-12-27 04:14:24 +00:00
JamesNK
87a2bbf831
-Added WriteArrayAttribute to XmlNodeConverter to include an attribute to help round tripping JSON and XML
...
-Added OmitRootObject to XmlNodeConverter to skip writing the root JSON object when converting XML
2010-12-27 04:00:43 +00:00
JamesNK
2c92f69c74
-Fixed JsonNet35BinaryCompatibility spelling
...
-Fixed Specified properties incorrectly needing XmlIgnore attribute
2010-12-23 19:27:38 +00:00
JamesNK
c046ac36f9
-Added CamelCaseText to StringEnumConverter
2010-12-19 00:49:35 +00:00
JamesNK
5ccd826951
-Change BSON writer to write new binary subtype
...
-Fix BSON reader to read the old binary subtype correctly
-Added JsonNet35BinaryCompadibility to BSON reader for incorrectly written BSON binary values
-Changed JSON schema to use required flags instead of optional as defined in JSON schema spec 3.0
-Changed JSON schema to use divisibleBy instead of maxDecimals as defined in JSON schema spec 3.0
-Fixed detection of serialization specified flag properties
-Updated to latest version of NuGet
2010-12-19 00:29:41 +00:00
JamesNK
2e7b8e5279
-Enabled support for converting between XML and JSON on Windows Phone 7
2010-12-08 00:04:27 +00:00
JamesNK
117748ed33
-Updated build to use latest version of NuGet command line package builder
2010-12-05 08:24:30 +00:00
JamesNK
227a34ed50
-Added support for deserializing to JToken
...
-Improved circular reference error message with type name
2010-12-01 08:03:02 +00:00
JamesNK
2eb0d3bf48
-Added XmlSerializer style Specified property support
2010-11-25 08:17:22 +00:00
JamesNK
efc2310a3d
-Make .NET 4.0 dynamic actually work (oops)
...
-Added JValue dynamic value conversion
2010-11-25 07:11:38 +00:00
JamesNK
5c0431464b
-Fix to preserve collection type information in certain situations when serializing
...
-Add missing Newtonsoft.Json.WindowsPhone.sln file
2010-11-17 07:31:20 +00:00
JamesNK
15ea91fb63
-Fixed error when deserializing nullable structs
...
-Fixed writing JSON Schema option label
-Improved error message when converting JSON with an empty property to XML
2010-10-22 23:23:49 +00:00
JamesNK
1703992773
-Added covariance to IJEnumerable type parameter
...
-Fixed inaccessible private getter/setters on base classes
2010-10-16 10:45:36 +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
4cea6d3c09
-Fixed test error when tests run in UTC timezone
...
-Fixed globalization warnings
-Fixed SelectToken skipping last property name if it is a single character
2010-09-29 06:14:30 +00:00
JamesNK
6591f7f29a
-Fixed test when tests run in UTC timezone
2010-09-24 10:32:43 +00:00
JamesNK
8546dc4f62
-Added DeserializeObject overload
2010-09-19 10:36:17 +00:00
JamesNK
84c40bf6d0
-Added Windows Phone 7 build
2010-09-18 08:04:27 +00:00
JamesNK
207119fefa
-Added JsonReader.ReadAsDecimal
...
-Fixed losing decimal precision when deserializing decimals
2010-09-12 11:19:48 +00:00
JamesNK
235770442a
-Added JsonReader.ReadAsDateTimeOffset
...
-Fixed losing timezone information when deserializing DateTimeOffsets
2010-09-12 03:39:39 +00:00
JamesNK
11ce71ee8b
-Added INotifyCollectionChanged to JContainer in .NET 4.0 build
...
-Changed .NET 3.5 and .NET 4.0 builds to target client frameworks
-Fixed JSON Schema not raising an error for additional properties when the schema has no properties
2010-09-11 22:56:13 +00:00
JamesNK
43501484fb
-Added .NET 3.5 build
...
-Added dynamic support to LINQ to JSON
-Added dynamic support to serializer
2010-09-11 08:06:53 +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
97d9cf82ef
-Updated NUnit to 2.5.7
2010-08-31 02:16:39 +00:00
JamesNK
bde0333e1b
-Delete old NUnit
2010-08-31 02:13:29 +00:00
JamesNK
aae77b5a43
-Demos
2010-08-14 02:10:47 +00:00
JamesNK
c8fa450bed
-Added SerializeCompilerGeneratedMembers to DefaultContractResolver to control serializing compiler generated fields
2010-08-09 10:59:35 +00:00
JamesNK
4eb4840f0b
-Update Sandcastle version to latest
2010-08-08 10:31:00 +00:00
JamesNK
fbfadea38a
-Fix JTokenReader.ReadAsBytes and null values
...
-Fix JsonProperty inheritance on overriden properties
2010-08-07 07:05:37 +00:00
JamesNK
4b5d417659
-Fix using simple type names on Silverlight
2010-07-16 07:53:27 +00:00
JamesNK
55adae5525
-Fix reading hexadecimal numbers that contain an e
2010-07-16 07:29:40 +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
c2800930ab
-Added DateTimeKindHandling to BsonWriter to control how a DateTime is converted prior to being serialized
...
-Added Required.Always attribute validation when writing JSON as well reading
-Added TypeNameHandling.Auto to automatically write the type name when a value doesn't match the declared type
-Fixed reading multi-byte strings in BSON
2010-07-03 09:53:57 +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
4a1c8d3a80
-Fix issue when deserializing string to byte data
...
-Fix converting a JValue to a compatible type
-Allow JsonConverterAttribute to be added to interfaces/structs/enums
2010-06-11 13:11:44 +00:00
JamesNK
f5ed7be283
-Improved default null and value handing when JSON value is not compatible with property value
...
-Added interfaces, structs and enums as valid targets of JsonConverterAttribute
2010-05-27 08:37:34 +00:00
JamesNK
fc6c041196
-Performance
...
-Add CLSCompliant attributes
-Fix BSON string reading bug
2010-05-11 07:49:02 +00:00
JamesNK
6c817fee93
-Improve OverflowException message for integer values larger than an Int64
2010-04-25 07:26:01 +00:00
JamesNK
7085a4915f
-Fix ReadAsBytes for empty strings
...
-Fix (hopefully) signing merged assemblies
2010-04-20 07:51:33 +00:00
JamesNK
2f11d3f970
-Fix JTokenReader.ReadAsBytes to read strings as base64 data
2010-04-17 07:54:07 +00:00
JamesNK
873a23a0f8
-XML documentation
2010-04-17 05:49:55 +00:00
JamesNK
1b6fe85808
-Fix exception message spelling mistake
2010-04-10 00:41:36 +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
0f148a9788
-Fix deserializing nullable array
2010-03-27 07:17:11 +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
6ce972156d
-New improved BSON writer
...
-Performance improvement for reference loop checking
2010-03-24 10:43:41 +00:00
JamesNK
064e5cb8ed
-Fix possible errors caused by mutable GetHashCode implementations and reference tracking
2010-03-23 01:20:27 +00:00
JamesNK
7f7cccd598
-Add support for using implicit/explicit casts when converting a JSON property name to a dictionary value
...
-Fix DynamicReflectionDelegateFactory erroring when calling static methods
-Fix CustomCreationConverter to return null when converting a null JSON value
2010-03-23 00:21:57 +00:00
JamesNK
408a407105
-Added support for ShouldSerialize conditional methods
...
-Fixed not correctly skipping ignored JSON properties when deserializing via a non-default constructor
2010-03-20 09:16:24 +00:00
JamesNK
d393430f30
-Fix reading BSON multi byte utf8 characters
2010-03-20 01:29:02 +00:00
JamesNK
0b42b38f34
-Added additional error checking around $ref property
2010-03-17 07:27:57 +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
846b7d79f2
-Build
2010-03-05 12:29:03 +00:00
JamesNK
e28434a176
-Build
2010-03-05 10:29:28 +00:00
JamesNK
dba4e783fe
-Build
...
-Tests
2010-03-05 09:20:29 +00:00
JamesNK
3b80e9d25f
-Fix dynamic code generation IL verification issues in .NET 4
2010-03-02 10:27:54 +00:00
JamesNK
d93aaf9707
-Update build script to run tests against the final assemblies
...
-Update psake script to latest version
2010-02-28 07:58:37 +00:00
JamesNK
29b1ff5f0a
-Add support for sharing a static cache for contract resolvers inheriting from DefaultControlResolver
...
-Correct error message when casting non-JValue to a privative type
2010-02-27 22:41:25 +00:00
JamesNK
d4158bb53c
-Escape JSON property text
2010-02-21 10:00:03 +00:00
JamesNK
98f3757498
-When converting JSON to XML using XmlNodeConverter, changed special JSON properties ($id, $ref, $type) to be attributes rather than child elements
2010-02-21 03:32:32 +00:00