toJson<T> method
Converts o
to a JSON collection/data.
maskField
when preset indicates if a field value should be masked withmaskText
.
Implementation
T? toJson<T>(Object? o,
{bool duplicatedEntitiesAsID = false, bool? autoResetEntityCache}) {
return encoder.toJson<T>(o,
duplicatedEntitiesAsID: duplicatedEntitiesAsID,
autoResetEntityCache: autoResetEntityCache);
}