<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://station14.ru/history/%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:JsonLoader?feed=atom</id>
	<title>Модуль:JsonLoader - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://station14.ru/history/%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:JsonLoader?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://station14.ru/history/%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:JsonLoader"/>
	<updated>2026-04-14T22:10:43Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://station14.ru/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:JsonLoader&amp;diff=103176&amp;oldid=prev</id>
		<title>Pok: Новая страница: «local p = {}  function p.getFromTitle(titleName)     local title = mw.title.new(titleName)     local jsonText = title and title:getContent() or &quot;&quot;     local ok, data = pcall(mw.text.jsonDecode, jsonText)     if ok and type(data) == &quot;table&quot; then         return data     else         return {}     end end  function p.invoke(frame)     local name = frame.args.title     return p.getFromTitle(name) end  return p»</title>
		<link rel="alternate" type="text/html" href="https://station14.ru/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:JsonLoader&amp;diff=103176&amp;oldid=prev"/>
		<updated>2025-07-17T07:47:52Z</updated>

		<summary type="html">&lt;p&gt;Новая страница: «local p = {}  function p.getFromTitle(titleName)     local title = mw.title.new(titleName)     local jsonText = title and title:getContent() or &amp;quot;&amp;quot;     local ok, data = pcall(mw.text.jsonDecode, jsonText)     if ok and type(data) == &amp;quot;table&amp;quot; then         return data     else         return {}     end end  function p.invoke(frame)     local name = frame.args.title     return p.getFromTitle(name) end  return p»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.getFromTitle(titleName)&lt;br /&gt;
    local title = mw.title.new(titleName)&lt;br /&gt;
    local jsonText = title and title:getContent() or &amp;quot;&amp;quot;&lt;br /&gt;
    local ok, data = pcall(mw.text.jsonDecode, jsonText)&lt;br /&gt;
    if ok and type(data) == &amp;quot;table&amp;quot; then&lt;br /&gt;
        return data&lt;br /&gt;
    else&lt;br /&gt;
        return {}&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.invoke(frame)&lt;br /&gt;
    local name = frame.args.title&lt;br /&gt;
    return p.getFromTitle(name)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Pok</name></author>
	</entry>
</feed>