Commit Graph
25 Commits
Author SHA1 Message Date
James Newton-King 9eb14a6590 -Minor fixes 2016-05-31 00:27:51 +12: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 02c6a1e247 -Initial naming strategy implementation 2016-05-28 22:58:05 +12: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 e04f0eec48 -Documentation 2015-12-22 14:22:49 +13:00
James Newton-King eb0cbd6a75 -Formatting
-Build
2015-12-04 23:54:38 +13:00
BrandonLWhite 12c33e70d2 Implemented support for passing arguments to parameterized JsonConverter constructors. 2014-09-13 17:48:50 -05:00
James Newton-King bcd6982419 -Code reformat 2013-10-20 15:08:39 +13:00
James Newton-King d815dc7749 -Documentation
-Added Path to JsonWriterException
2012-05-07 23:16:24 +12:00
James Newton-King 2dfd0bc940 -Added ItemIsReference, ItemReferenceLoopHandling, ItemTypeNameHandling, ItemConverterType to JsonPropertyAttribute 2012-05-05 20:30:02 +12:00
James Newton-King 0e22f39e12 -Added ItemRequired to JsonObjectAttribute 2012-05-02 23:57:52 +12:00
James Newton-King d63e662bda -Fixed DateParseHandling not being overridden on serializer proxy
-License text on all source files
2012-04-25 09:32:32 +12:00
James Newton-King 83618b1ea0 -Line endings 2012-04-08 18:10:07 +12:00
JamesNK 29b32aa2cb -Added Order to JsonPropertyAttribute to override the order of serialized JSON 2011-08-02 02:58:22 +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 873a23a0f8 -XML documentation 2010-04-17 05:49:55 +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 2a63ea24e3 -Added ObjectCreationHandling to JsonPropertyAttribute
-Added IValueProvider, ReflectionValueProvider, DynamicValueProvider
-Added Dynamic.snk
-Added Required enum with options Default, AllowNull and Always
-Added serialization event support to Silverlight version
-Added Converter to JsonProperty for JsonConverter
-Changed IsRequired to Required enum
-Changed schema generator to allow for Required enum options
-Changed Silverlight project version to Silverlight 3
-Improved error message when JSON array encountered for object and vice-versa when deserializing
-Improved error message for converting types when deserializing
-Improved error message from getting and setting properties when serializing and deserializing
-Fixed empty string being converted to null when deserializing
-Removed dependency on Entity Framework and LINQ to SQL assemblies
2009-11-02 08:21:02 +00:00
JamesNK 265abaf08c -Documentation
-Example unit tests for documentation
-Added IsReference to JsonPropertyAttribute
-Fixed resolving whether a property should be a reference
2009-07-06 09:36:03 +00:00
JamesNK fec0ec5a1d -Lots of XML code comments
-Added type name handling to serializer
-Fixed various compilation warnings
2009-05-30 06:13:51 +00:00
JamesNK affb9ec906 -Added even more detail to no root XML element exception message when converting JSON to XML. Seriously, if you still get stuck here you're an idiot
-Added NullValueHandling, DefaultValueHandling and ReferenceLoopHandling to JsonPropertyAttribute
-Change JsonMemberMapping from a struct to a class. Now has too many properties for a struct
2009-04-22 05:56:34 +00:00
JamesNK 0319263756 -Added JSON Schema implementation
-Move test serialization objects to TestObjects namespace
-Fixed JsonConvert to always write a floating point number with a decimal place
-Changed Type values to serialize and deserialize to type name string
-Fixed JsonWriter to allow objects and arrays to be written in a constructor
-Added JsonContainerAttribute with Id, Title and Description members. JsonObject and JsonArray inherit from this attribute
-Added JsonArrayAttribute. Has flag to control whether array can contain null items.
-Added IsRequired to JsonProperty
-Replaced protected method GetSerializableMembers with GetMemberMappings on JsonSerializer
-Fixed QuoteChar not getting set when parsing property name
-Added Load(JsonReader) to JProperty, JConstructor
-Fixed error when populating JProperty with content from collection
-Added the ability for JsonTokenWriter to write individual values as well as arrays and objects
-Added CreateReader to JToken
-Added FromObject to JToken
-Added ReadFrom to JToken
2009-01-02 05:29:31 +00:00
JamesNK 3209f09f0f -XML comments for everything!!!
-Some members changed to internal
2008-04-10 10:30:43 +00:00
JamesNK 3d150fe2c3 Changes:
Specified CultureInfo when converting to and from strings across Json.NET.

Fixes:
Clone JToken when adding token with a parent to a new token.
2008-03-16 03:04:28 +00:00
JamesNK e65bc2becd 2007-09-08 08:59:38 +00:00