declare const _default: "{{!--\n Expects the following parameters:\n variableName - required\n className - required\n choiceType - optional\n primitive - optional\n\n For complex types, this will emit something like:\n \n result['address'] = Address.transform_json(json_hash['address'])\n \n for primitive types, it passes an extra parameter:\n \n result['name'] = PrimitiveString.transform_json(json_hash['name'], json_hash['_name']) unless json_hash['name'].nil?\n--~}}\n{{~!--\n If a choiceType is specified, use it. Otherwise default to: \n json_hash['{{ variableName }}'\n--~}}\n{{~# if choiceType ~}}\n result['{{ jsonChoiceName variableName choiceType }}'] = {{ className }}.transform_json(json_hash['{{ jsonChoiceName variableName choiceType }}']\n{{~ else ~}}\n result['{{ toModelVariableName variableName }}'] = {{ className }}.transform_json(json_hash['{{ variableName }}']\n{{~/ if ~}}\n\n{{~!--\n Here we may need to append an additional parameter containing the JSON extension data\n stored in the '_foo' attribute \n--}}\n{{~# if primitive ~}}\n {{~# if choiceType ~}}\n , json_hash['_{{ jsonChoiceName variableName choiceType }}']\n {{~ else ~}}\n , json_hash['_{{ variableName }}']\n {{~/ if ~}}\n{{~/ if ~}}\n{{~# if choiceType ~}}\n ) unless json_hash['{{ jsonChoiceName variableName choiceType }}'].nil?\n{{~ else ~}}\n ) unless json_hash['{{ variableName }}'].nil?\n{{~/ if ~}}\n"; export default _default; //# sourceMappingURL=transformMemberTemplate.d.ts.map