void operator()(
		rapidjson::GenericValue<Encoding, Allocator>& rjv,
		Allocator& alloc,
		T* v
	) const {
		if(bool(v)) {
			_comp(rjv, alloc, *v);
		} else {
			rjv.SetNull();
		}
	}
	void operator()(
		rapidjson::GenericValue<Encoding, Allocator>& rjv,
		Allocator&,
		std::nullptr_t
	) const { rjv.SetNull(); }