02 2013 档案
摘要:type TFoo = class public function Object2Json<T>(o: T): string; function Json2Object<T>(j: string): T; end; implementationfunction TFoo.Json2Object<T>(j: string): T;var ctx: TSuperRttiContext;begin ctx := TSuperRttiContext.Create; try Result := ctx.AsType<T>(SO[j]); finally c
阅读全文
浙公网安备 33010602011771号