﻿using RethinkDb.DatumConverters;

namespace RethinkDb.Newtonsoft.Configuration
{
    public class NewtonSerializer : AggregateDatumConverterFactory
    {
        public NewtonSerializer() : base(
            PrimitiveDatumConverterFactory.Instance,
            TupleDatumConverterFactory.Instance,
            AnonymousTypeDatumConverterFactory.Instance,
            BoundEnumDatumConverterFactory.Instance,
            NullableDatumConverterFactory.Instance,
            NewtonsoftDatumConverterFactory.Instance
        )
        {
        }
    }
}

﻿using RethinkDb.DatumConverters;

namespace RethinkDb.Newtonsoft.Configuration
{
    public class NewtonSerializer : AggregateDatumConverterFactory
    {
        public NewtonSerializer() : base(
            PrimitiveDatumConverterFactory.Instance,
            TupleDatumConverterFactory.Instance,
            AnonymousTypeDatumConverterFactory.Instance,
            BoundEnumDatumConverterFactory.Instance,
            NullableDatumConverterFactory.Instance,
            NamedValueDictionaryDatumConverterFactory.Instance,
            NewtonsoftDatumConverterFactory.Instance
        )
        {
        }
    }
}

Add NamedValueDictionaryDatumConverterFactory to newtonsoft converter
Add NamedValueDictionaryDatumConverterFactory to newtonsoft converter

Allows access to the .Keys colllection of a Dictionary<string,object>,
in an expression.
