Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (23 sloc) 0.611 kb
#ifndef THORSANVIL_SERIALIZE_JSON_SERIAlIZE_MEMORY_H
#define THORSANVIL_SERIALIZE_JSON_SERIAlIZE_MEMORY_H
#include "JsonSerializer.h"
#include <memory>
namespace ThorsAnvil
{
namespace Serialize
{
namespace Json
{
template<typename K, typename V>
struct JsonSerializeTraits<std::pair<K,V> >
{
static JsonSerializeType const type = Map;
typedef std::pair<K, V> LocalType;
THORSANVIL_SERIALIZE_JsonAttribute(first);
THORSANVIL_SERIALIZE_JsonAttribute(second);
typedef boost::mpl::vector<first,second> SerializeInfo;
};
}
}
}
#endif
Jump to Line
Something went wrong with that request. Please try again.