From 4e0ac5993e80a18008701fb3f3622de9afe898c4 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 27c2282e8..f63b72f48 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -274,6 +274,8 @@ struct is_compatible_basic_json_type T>::value; }; + +// This trait checks if JSONSerializer::from_json exists template