From a5d81ff3c2a7d5a43444e3a79f78abe411ea0eb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20DELRIEU?= Date: Tue, 15 Nov 2016 14:22:12 +0100 Subject: [PATCH] add basic test for custom serializer --- src/json.hpp | 62 +++++++++++++++++++++++++++++++++++-------- test/src/unit-udt.cpp | 56 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 107 insertions(+), 11 deletions(-) diff --git a/src/json.hpp b/src/json.hpp index 2d3efda4e..88c7e9c9f 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -135,6 +135,38 @@ struct has_mapped_type std::is_integral()))>::value; }; +template