void assign(basic_json<Char, Alloc>& self, basic_json<Char, Alloc> val)
 {
     val.swap(self);
 }