decode<T> static method
T
decode<T>(
- String encodedJson, {
- Type? type,
- TypeInfo? typeInfo,
- JsomMapDecoder? jsomMapDecoder,
- EntityHandlerProvider? entityHandlerProvider,
- EntityCache? entityCache,
- bool? autoResetEntityCache,
Decodes encodedJson
to a JSON collection/data.
Implementation
static T decode<T>(String encodedJson,
{Type? type,
TypeInfo? typeInfo,
JsomMapDecoder? jsomMapDecoder,
EntityHandlerProvider? entityHandlerProvider,
EntityCache? entityCache,
bool? autoResetEntityCache}) {
var jsonDecoder =
_buildJsonDecoder(jsomMapDecoder, entityHandlerProvider, entityCache);
return jsonDecoder.decode(encodedJson,
type: type,
typeInfo: typeInfo,
autoResetEntityCache: autoResetEntityCache);
}