void operator()( rapidjson::GenericValue<Encoding, Allocator>& rjv, Allocator& alloc, char v ) const { rjv.SetString(&v, 1, alloc); }
void operator()( rapidjson::GenericValue<Encoding, Allocator>& rjv, Allocator& alloc, const char* v ) const { rjv.SetString(v, (N>0 && v[N-1])?N:N-1, alloc); }