Tag Archives: Serialization

Test Data Generator

I’ve pushed to github a new project, TestDataGenerator that should help with filling random objects with data. I felt the need for a tool like this when testing various serialization techniques and persistence strategies.

Basically this utility should construct the instance of an object using a public constructor, and fill all it’s public, writable properties with random data.

Sample usage:
class Sample
{… read full article

.NET Serialization Choices – Raven.Json

This post is an addition to .NET Serialization Choices post.

I’ve added to the SerializationTests Project the new serialization implementation in Raven.Json.

The Raven.Json Serializer is an extension to Newtonsoft Json.NET serializer and as expected the results are similar. Also the Pros & Cons are similar:

Raven.Json

Optimized DOM for Newtonsoft Json.NET

Pro: JSON Based, human readable, platform… read full article

.NET Serialization Choices

Introduction

Serialization is not a trivial problem in any language. In .NET there are quite some choices available for serializing/deserializing objects. Each available option has it’s strengths and weaknesses.

I’ve started a project on git hub SerializationTests where i’m trying to determine what is supported by which library and draw a few conclusions that should be helpful when designing serializable objects and in general when dealing… read full article