Commit Graph
80 Commits
Author SHA1 Message Date
JamesNK 3b26adfdd1 -Added support for DataContractAttribute and DataMemberAttribute to JsonSerializer
-Added support for serializing private members by marking them with JsonPropertyAttribute or DataMemberAttribute
2009-05-09 10:19:32 +00:00
JamesNK a0a8599d3d -Fix bug when JValue of type string has a null string value
-Fix JToken casting bugs to float and decimal
2009-04-30 10:12:42 +00:00
JamesNK 52f8657106 -Changed JObject to enumerate over KeyValuePair<string, JToken> rather than JToken. Breaking change. 2009-04-27 08:49:08 +00:00
JamesNK 6e205383c7 -Added MetadataTypeAttribute support when searching for attributes
-Tests around serializing/deserializing LINQ to SQL classes
2009-04-26 07:11:30 +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 3e22e30261 -Changed DefaultDateTimeFormat on IsoDateTimeConverter to not display zero milliseconds 2009-04-12 01:21:27 +00:00
JamesNK 6042bf2207 -Moved JTokenReaderTest.cs and JTokenWriterTest.cs to Linq test directory 2009-04-10 05:00:58 +00:00
JamesNK ed53b0c9ad -Rename JsonTokenReader, JsonTokenWriter, JsonTokenType to JTokenReader, JTokenWriter, JTokenType 2009-04-10 04:45:58 +00:00
JamesNK 3630a43f11 -Added StringEnumConverter
-Added BinaryConverter
2009-03-29 01:36:06 +00:00
JamesNK b9bedd1233 -Rename Product.Expiry to Product.ExpiryDate in tests 2009-03-21 09:19:16 +00:00
JamesNK 9fd47e6334 -Added support to deserializing to IEnumerable<T>, IList<T>, IDictionary<K, V>
-Added populating members when creating object from non default constructor
-Added case best match when deserializing properties
-Added ToString(Formatting, JsonConverters[]) overload to JToken
-Added SerializeObject(object, Formatting, JsonConverter[]) overload to JsonConvert
-Added IMappingResolver. Property added to JsonSerializer, JsonSerializerSettings, JsonSchemaGenerator
-Added CamelCaseMappingResolver
2009-03-14 00:38:28 +00:00
JamesNK e5eaa14990 -Added AddAfterSelf, AddBeforeSelf to JToken 2009-02-27 07:02:36 +00:00
JamesNK 6068b06744 -Fix ToString(JsonConverter[]) overload on JToken
-Ensure JavaScriptDateTimeConverter converts nullable DateTimes
-Make JsonTypeReflector thread safe
2009-02-27 06:12:37 +00:00
JamesNK eedb01645a -Improve error message when attempting to deserialize to an interface or abstract class 2009-02-08 08:57:45 +00:00
JamesNK 50cca1ec0b -Fix writing raw JValue tokens 2009-01-24 01:06:35 +00:00
JamesNK 803c381c72 -Added deserialize test for jagged arrays
-Made deserializer ignore missing members by default
2009-01-15 08:46:54 +00:00
JamesNK d1757496fb -Fix XmlNodeConverter handling of nested arrays when converting to XML 2009-01-11 09:01:55 +00:00
JamesNK 663540f349 -Added DeserializeNode overload to specify a root element 2009-01-06 09:36:04 +00:00
JamesNK a7b631a5f9 -Fix test 2009-01-06 08:05:04 +00:00
JamesNK 308a0c516b -Fix error message for missing member
-Fix exception not throwing for bad char after semi-colon
2009-01-06 08:03:46 +00:00
JamesNK a6e925b0f3 -Tests 2009-01-04 08:52:04 +00:00
JamesNK 399033059b -Added IJsonLineInfo. Implemented by JsonTextReader, JsonTokenReader, JsonValidatingReader, JToken
-Added line details to JsonTextReader exception messages and JsonValidatingReader errors
-Change JsonSchemaGenerator to disable additional properties on sealed classes
-Fixed JsonSchemaGenerator to not output enum values and options for flag enums
2009-01-04 05:26:26 +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 f95868233e -Rename JavaScriptConvert to JsonConvert 2008-12-03 05:52:21 +00:00
JamesNK fc6ffd0549 -Added additional unicode encoding test 2008-11-23 05:11:59 +00:00
JamesNK 5b58fb32de -Changed Value<T> on JObject to support getting nullable values
-Fixed JsonSerializer to correctly skip missing members
2008-11-23 05:09:21 +00:00
JamesNK 950b99ca1f -Fix bug when deserializing to a nullable number 2008-11-02 00:43:32 +00:00
JamesNK 05f8528d97 -Bump assembly version to 3.5 2008-10-27 09:36:55 +00:00
JamesNK a858bebc93 -Changed JSON Date constructors to automatically deserialize to a date 2008-10-27 07:57:26 +00:00
JamesNK 08b4e4001e -Change JsonSerializerSettings.Converters initial value to an empty collection 2008-10-26 23:49:30 +00:00
JamesNK 4e8002bdcb -Misc refactoring 2008-10-16 06:16:39 +00:00
JamesNK 68af212cfb -Fix JContainer child ordering when adding multi values 2008-10-10 20:02:05 +00:00
JamesNK 3038a8d79e -Modified project to support signed flag. Does not output InternalsVisibleTo attributes when present
-Improved error message on JObject and JArray Load method
-Added WriteRawValue
-Added missing XML documentation
-Added SerializeObject overload that takes a formatting flag
2008-10-08 09:01:55 +00:00
JamesNK 5bb0c17eec -Renamed Identifier to JsonRaw
-Added support for reading, writing and serializing raw JSON
2008-09-27 23:37:55 +00:00
JamesNK 500440e04f -Added nullable DateTime support to IsoDateTimeConverter and JavaScriptDateTimeConverter
-Added WriteValue overloads to JsonWriter for nullable types
-Fixed JsonTextWriter.WriteValue(string) to write null instead of an empty string for a null value
-Fixed JsonWriter.WriteValue(object) to no longer error on null values
2008-09-24 09:39:30 +00:00
JamesNK 33c2d69b54 -Added compact framework support
-Refactored JavaScriptConvert to not rely on DateTimeOffset when converting dates
-Refactored JsonSerializer to use new CreateInstance on ReflectionUtils
-Deleted JsonHandler
2008-09-21 10:23:55 +00:00
JamesNK e8654d8c03 -Added DefaultValueHandling to JsonSerializer. Option to not write default values when serializing object
-Added JsonSerializerSettings and overloads to JavaScriptConvert.SerializeObject and JavaScriptConvert.DeserializeObject
-Performance improvements
2008-09-14 10:30:38 +00:00
JamesNK b991969d65 -Refactor JsonSerializer.GetConverter 2008-09-08 09:10:00 +00:00
JamesNK ce0148d67f -Fix JsonSerializer.Deserialize to take a TextReader instead of a StringReader 2008-09-08 09:03:21 +00:00
JamesNK d193ae37be -Changed serializer to better work with ICollection<T> when deserializing
-Improved serializer caching of static type data
2008-09-08 08:46:23 +00:00
JamesNK 7b0f3a7ccc -Changed JavaScriptConvert.DeserializeObject to check for addition content after deserializing object 2008-09-04 08:12:36 +00:00
JamesNK 7f4656a583 -Fix test
-Enable XML documentation for Silverlight project
2008-08-24 11:23:19 +00:00
JamesNK 94e3bebcdc -Minor text changes
-Include new documentation resources in solution
2008-08-24 11:11:43 +00:00
JamesNK 83474cbfb7 -Add introduction to help 2008-08-24 07:28:51 +00:00
JamesNK e1cd4a5cff -Updated serializing help page
-Fixed help generation warnings
-Added AsJEnumerable
-Changed extension methods to return IJEnumerable where appropriate
-Extension methods better handle converting JValues
2008-08-23 12:46:28 +00:00
JamesNK c7d99fbd3f -Added IJEnumerable. Changed JEnumerable and JToken to both implement IJEnumerable.
-Included missing JsonConverters from Newtonsoft.Json.Silverlight project.
2008-08-23 04:56:24 +00:00
JamesNK a6662b595d -Include SilverlightTests.cs 2008-08-23 02:10:53 +00:00
JamesNK c312906712 -Include SilverlightTests.cs in Newtonsoft.Json.Tests.csproj 2008-08-23 01:55:42 +00:00
JamesNK 6b6b05c3ca -Fixed solution/project issues
-Bumped assembly version to 3.0
2008-08-23 01:49:07 +00:00
JamesNK 49baf093a2 -Split Silverlight projects into a separate solution: Newtonsoft.Json.Silverlight.sln 2008-08-23 01:38:24 +00:00