Sencha.Serialization

Description

Currently serialization corresponds with the DataContract Serialization (http://msdn.microsoft.com/en-us/library/ms733127.aspx)

Features

  • Strict JSON standard implementation
  • Non-Latin characters encoding
  • Serialize from/to Stream
  • Serialize from/to TextReader/TextWriter
  • Serialize from/to String
  • Serialize from/to non-seakable Stream(NetworkStream for example)
  • Serialize from/to BSON~(+fast write)~~
  • Serialize primitives
    • Byte, Int16, Int32, Int64, SByte, UInt16, UInt32, UInt64, Decimal, Single, Double, Boolean, Char, String, DateTime, DateTimeOffset, Guid, TimeSpan, Uri, System.Enum
    • Enums as numbers/string
  • Serialize Arrays
    • native Arrays
    • IEnumerable, ICollection, IList, Generic IEnumerable, Generic ICollection, Generic IList
    • can handle sole item as array
    • custom enumerable types with right Add method
  • Byte Arrays Serialization as Base64
  • Streams Serialization
  • Convertible Types Serialization (with TypeConverterAttribute)
  • Custom Serialization via ISerializable
  • Dictionary serialization
    • IDictionary, Generic IDictionary<>,
    • custom Dictionary types
  • Object Serialization
    • Plain, Inherited, Discriminated
    • Skip unaccesible, readonly, unknown members on deserialization
    • Handles repeating member on deserialization
  • Bson specific types
    • ObjectId
    • Regex
    • ScopedCode
    • Binary
  • Custom Type Serializers
  • IDataRecord Serialization
  • Dateset\Table Serialization
  • Deserialize any as Json string
  • Deserialize object as IDictionary
  • Deserialize any as Dynamic(4.0)
  • Serialization metadata aquiring
    • Reflection
      • private members
      • public members
  • Serialization Mappings
    • Data Contact Attributes
    • Custom Attributes
  • Configurable Numbers and Date format
    • dates serialized as local time, unspecified is assumed as local

Last edited Oct 9, 2012 at 3:38 PM by ShaiHulud, version 3

Comments

No comments yet.