For reporting purposes, I Need more tha one record serialized.
Now I have a AureliusDataSet:
Serializer := TDataSnapJsonSerializer.Create;
try JsonValue := Serializer.ToJson(dataset.current<T>);
JsonString:=JsonValue.ToString;
finally Serializer.Free;
end;
try JsonValue := Serializer.ToJson(dataset.current<T>);
JsonString:=JsonValue.ToString;
finally Serializer.Free;
end;
Is there a way to have more than one record or the whole list to be serialized?
tx Bernd