Beispiel #1
0
	void operator()(
		rapidjson::GenericValue<Encoding, Allocator>& rjv,
		Allocator& alloc,
		char v
	) const { rjv.SetString(&v, 1, alloc); }
Beispiel #2
0
	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); }