Y
Hacker News
new
|
ask
|
show
|
jobs
by
drchickensalad
2316 days ago
Can't you take object instead of TInsert and call .GetType to lookup the (cached) way to serialize it? I assume this is what json.net etc do.