DefaultSerializer
Defined in: packages/utils/src/DefaultSerializer.ts:71
Extends
Section titled “Extends”Jsona
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DefaultSerializer(params?): DefaultSerializer;Defined in: node_modules/.pnpm/jsona@1.12.1/node_modules/jsona/lib/Jsona.d.ts:8
Parameters
Section titled “Parameters”params?
Section titled “params?”DeserializeCache?
Section titled “DeserializeCache?”IDeserializeCacheConstructor
JsonDeserializer?
Section titled “JsonDeserializer?”IJsonDeserializerConstructor
jsonPropertiesMapper?
Section titled “jsonPropertiesMapper?”IJsonPropertiesMapper
modelPropertiesMapper?
Section titled “modelPropertiesMapper?”IModelPropertiesMapper
ModelsSerializer?
Section titled “ModelsSerializer?”IModelsSerializerConstructor
Returns
Section titled “Returns”DefaultSerializer
Inherited from
Section titled “Inherited from”Jsona.constructorProperties
Section titled “Properties”DeserializeCache
Section titled “DeserializeCache”DeserializeCache: IDeserializeCacheConstructor;Defined in: node_modules/.pnpm/jsona@1.12.1/node_modules/jsona/lib/Jsona.d.ts:5
Inherited from
Section titled “Inherited from”Jsona.DeserializeCacheJsonDeserializer
Section titled “JsonDeserializer”JsonDeserializer: IJsonDeserializerConstructor;Defined in: node_modules/.pnpm/jsona@1.12.1/node_modules/jsona/lib/Jsona.d.ts:7
Inherited from
Section titled “Inherited from”Jsona.JsonDeserializerjsonPropertiesMapper
Section titled “jsonPropertiesMapper”jsonPropertiesMapper: IJsonPropertiesMapper;Defined in: node_modules/.pnpm/jsona@1.12.1/node_modules/jsona/lib/Jsona.d.ts:4
Inherited from
Section titled “Inherited from”Jsona.jsonPropertiesMappermodelPropertiesMapper
Section titled “modelPropertiesMapper”modelPropertiesMapper: IModelPropertiesMapper;Defined in: node_modules/.pnpm/jsona@1.12.1/node_modules/jsona/lib/Jsona.d.ts:3
Inherited from
Section titled “Inherited from”Jsona.modelPropertiesMapperModelsSerializer
Section titled “ModelsSerializer”ModelsSerializer: IModelsSerializerConstructor;Defined in: node_modules/.pnpm/jsona@1.12.1/node_modules/jsona/lib/Jsona.d.ts:6
Inherited from
Section titled “Inherited from”Jsona.ModelsSerializerMethods
Section titled “Methods”denormalizeReduxObject()
Section titled “denormalizeReduxObject()”denormalizeReduxObject(__namedParameters): TJsonaModel | TJsonaModel[] | null;Defined in: node_modules/.pnpm/jsona@1.12.1/node_modules/jsona/lib/Jsona.d.ts:20
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”entityIds?
Section titled “entityIds?”string | string[]
entityType
Section titled “entityType”string
reduxObject
Section titled “reduxObject”TReduxObject
returnBuilderInRelations?
Section titled “returnBuilderInRelations?”boolean
Returns
Section titled “Returns”TJsonaModel | TJsonaModel[] | null
Inherited from
Section titled “Inherited from”Jsona.denormalizeReduxObjectdeserialize()
Section titled “deserialize()”deserialize(body, options?): TJsonaModel | TJsonaModel[];Defined in: packages/utils/src/DefaultSerializer.ts:72
Parameters
Section titled “Parameters”string | TJsonApiBody
options?
Section titled “options?”TDeserializeOptions
Returns
Section titled “Returns”TJsonaModel | TJsonaModel[]
Overrides
Section titled “Overrides”Jsona.deserializeserialize()
Section titled “serialize()”serialize(__namedParameters): TJsonApiBody;Defined in: node_modules/.pnpm/jsona@1.12.1/node_modules/jsona/lib/Jsona.d.ts:15
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”includeNames?
Section titled “includeNames?”TJsonaDenormalizedIncludeNames | TJsonaNormalizedIncludeNamesTree
TJsonaModel | TJsonaModel[]
Returns
Section titled “Returns”TJsonApiBody
Inherited from
Section titled “Inherited from”Jsona.serialize