From 178441cdfd12a8b7f4c49778259470bd40d4f32a 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 4f471070..d8f33759 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -150,6 +150,38 @@ struct has_mapped_type std::is_integral()))>::value; }; +template