You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi daniele
i try to change dataset record to json object
fdquery.asJSONObject(fpLowerCase) <-- not working, always large case in firebird
i see in MVCFramework.Dataset.Utils :
function TDataSetHelper.AsJSONObject(AFieldNamePolicy: TFieldNamePolicy): string;
var
lSerializer: IMVCSerializer;
begin
lSerializer := TMVCJsonDataObjectsSerializer.Create;
Result := lSerializer.SerializeDataSetRecord(Self, [], ncAsIs);
// Mapper.DataSetToJSONObject(Self, JObj, false);
end;
AFieldNamePolicy <-- not going anywhere or i'm wrong?
and
Result := lSerializer.SerializeDataSetRecord(Self, [], ncAsIs); <-- always AsIs Case ???
or maybe i miss something?
The text was updated successfully, but these errors were encountered:
hi daniele
i try to change dataset record to json object
fdquery.asJSONObject(fpLowerCase) <-- not working, always large case in firebird
i see in MVCFramework.Dataset.Utils :
function TDataSetHelper.AsJSONObject(AFieldNamePolicy: TFieldNamePolicy): string;
var
lSerializer: IMVCSerializer;
begin
lSerializer := TMVCJsonDataObjectsSerializer.Create;
Result := lSerializer.SerializeDataSetRecord(Self, [], ncAsIs);
// Mapper.DataSetToJSONObject(Self, JObj, false);
end;
AFieldNamePolicy <-- not going anywhere or i'm wrong?
and
Result := lSerializer.SerializeDataSetRecord(Self, [], ncAsIs); <-- always AsIs Case ???
or maybe i miss something?
The text was updated successfully, but these errors were encountered: