Lazarus 0.9.31
jp:=TJSONParser.Create(UTF8Encode(pl));
try
adList:=jp.Parse as TJSONArray;
报错:
An exception was raised on the server: string exceeds end of line
其中,pl包含从memo中返回的text值,用superobject的asjson(false,false)编码
其实,就是包含了”’#10’”的字符
Lazarus 0.9.31
jp:=TJSONParser.Create(UTF8Encode(pl));
try
adList:=jp.Parse as TJSONArray;
报错:
An exception was raised on the server: string exceeds end of line
其中,pl包含从memo中返回的text值,用superobject的asjson(false,false)编码
其实,就是包含了”’#10’”的字符