From e5999c6c822a37562dde3e031e231b73195e56cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20DELRIEU?= Date: Sat, 26 Nov 2016 01:31:06 +0100 Subject: [PATCH] add a few tests --- src/json.hpp | 5 ++++- test/src/unit-udt.cpp | 38 +++++++++++++++++++++++++++++++++++++- 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/src/json.hpp b/src/json.hpp index 10969138..1e3c6f3b 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -289,6 +289,8 @@ struct is_compatible_basic_json_type T>::value; }; + +// This trait checks if JSONSerializer::from_json exists template