1 是FXM而不是XM
TPerson = class
private
  FXM: string;
  FNL: integer;
public
  property XM: string read XM write FXM;
  preperty NL: integer read FNL write FNL;
end;Marshal后的JSON是 .."FXM":"XXX"; "FNL": 99..
当把 {"nl":99,"xm":"张三"} UnMarshal为TPerson的时候,就转不过去了。
2 区分大小写
JSONObject.Get('xm').JsonValue; 返回一个TJSONValue的值。
Get('xm')--xm是区分大小写的。