All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Eiffel.framework.serialization.api_serializer.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
{{>noteinfo}}

class
	API_SERIALIZER


feature -- Access

	serializer (f: FUNCTION [TUPLE [content_type:READABLE_STRING_8; type:ANY],READABLE_STRING_8]; a_content_type: READABLE_STRING_8; a_type: ANY): STRING_8
			-- Serialize an object of type `a_type' using the content type `a_content_type'.
		do
				-- TODO check if this conversion it's ok.
			Result := f.item ([a_content_type, a_type]).to_string_8
		end
end




© 2015 - 2024 Weber Informatics LLC | Privacy Policy