Project Description

Scrive4net is a simple serializer for test scenarios, in contrast to traditional serializers which are used for object persistance to HDD or over network connections, no thought was given to deseirialization back to the original object (as this was not the intention), the main concern here was human readability and full control over serialization.
The need it fills is getting an object into text form so it can be compared to the standard / preapproved object, or to approve it as the standard object.
  • The output string is as human readable as can be, and comes with built in formatting.
  • Output is deterministic = the same object will produce the same output string every time. (for string diffing)
  • Produces a simple ToString value for primitive types (including string and date)
  • Produces a xml / json representation of an object including all properties
  • Opt in & opt out support
  • Depth limitation support
  • Handles List / Array & Dictionary properties (IEnumerable & IDictionary)
  • Complience with standard xml & json formats is provided so deserialization into a wroking object model is easy.
  • Supports serializing properties and fields of any object
  • Full control over which types of members to serialize (public / nonPublic / static / instance)

Last edited Apr 1, 2013 at 10:28 AM by amitbet, version 8