function JSONTranslator.PromiseFormatByKey(G,d,C)assert(G~=JSONTranslator,"\067\111\110\115\116\114\117\099\116 \097 \110\101\119 \118\101\114\115\105\111\110 \111\102 \116\104\105\115 \099\108\097\115\115 \116\111 \117\115\101 \105\116")assert(type(d)=="\115\116\114\105\110\103","\075\101\121 \109\117\115\116 \098\101 \097 \115\116\114\105\110\103")return G._promiseTranslator:Then(function()return G:FormatByKey(d,C)end)end
--[=[
	Formats the resulting entry by args.
	@param key string
	@param args table?
	@return Promise<string>
]=]
function JSONTranslator:PromiseFormatByKey(key, args)
	assert(self ~= JSONTranslator, "Construct a new version of this class to use it")
	assert(type(key) == "string", "Key must be a string")

	return self._promiseTranslator:Then(function()
		return self:FormatByKey(key, args)
	end)
end
