Commit Graph
180 Commits
Author SHA1 Message Date
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
JamesNK 262bb492f5 -Add LINQ to XML object support to XmlNodeConverter
-Add SerializeXNode, DeserializeXNode methods to JsonConvert
-Remove "-" prefix when serializing a JSON constructor, prefix not compatible with XML naming standard
2010-02-20 07:46:48 +00:00
JamesNK 98164c53a6 -Fixed JsonProperty.Readable and Writable not being correctly set for .NET properties with modified getter/setter visibility
-Fixed error caused by property properties on a base class when reflecting a type
-Fixed property CanRead and CanWrite coming back as false when a base class property has a private getter/setter visibility
2010-02-14 02:58:28 +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 992985bd7b -Add missing xml documentation
-Add build tools
-Add build scripts
-Move doc directory
2010-02-06 12:17:21 +00:00
JamesNK bb8e2217cd -Move NUnit dlls 2010-02-06 00:00:52 +00:00
JamesNK afb7f2a135 -Change Silverlight test project output path 2010-02-05 23:36:19 +00:00
JamesNK aefecfa837 -Strongly name NUnitLite.dll 2010-02-05 23:23:11 +00:00