<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Some sort of JSON interpretation problem in newsfeed module]]></title><description><![CDATA[<p dir="auto">I’ve been struggling with an external compliments file for some time, and after another user posted his on gist, I took the liberty to use that as a test, and then compared the two.</p>
<p dir="auto">I couldn’t get mine to work at all, but the other worked fine.<br />
By changing the indentation to three spaces, it worked. It was two spaces.<br />
This is a really odd problem, there is no standard to my knowledge for JSON that sets it at specific three spaces?</p>
<p dir="auto">So this didn’t work:</p>
<pre><code>{
   "anytime" : [
      "Jeg beundrer,\nat du altid er helt dig selv",
      "Man bliver så glad af\nat være sammen med dig",
...
</code></pre>
<p dir="auto">But this does</p>
<pre><code>{
    "anytime" : [
        "Jeg beundrer,\nat du altid er helt dig selv",
        "Man bliver så glad af\nat være sammen med dig",
...
</code></pre>
<p dir="auto">I think that is really odd.</p>
<p dir="auto">Furthermore I had to remember the quotes around the key, which isn’t needed in the internal list, but if I read it right, it must have quotes in a proper json file.</p>
]]></description><link>https://forum.magicmirror.builders/topic/15430/some-sort-of-json-interpretation-problem-in-newsfeed-module</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 10:56:15 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/15430.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 29 Aug 2021 12:56:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Some sort of JSON interpretation problem in newsfeed module on Thu, 02 Sep 2021 18:54:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fribse" aria-label="Profile: fribse">@<bdi>fribse</bdi></a> if u run it thru the validator, does it work?</p>
]]></description><link>https://forum.magicmirror.builders/post/94177</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/94177</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 02 Sep 2021 18:54:16 GMT</pubDate></item><item><title><![CDATA[Reply to Some sort of JSON interpretation problem in newsfeed module on Thu, 02 Sep 2021 16:33:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Hey Sam</p>
<p dir="auto">I only wrote the thing with the quotes as the internal config seems to be a bit more leniant.<br />
No tabs, the ONLY thing I did to make it work, was add an extra space :-)<br />
My config is so old by now, that every time I look at it, I have to rethink everything to get to the same result :-D</p>
]]></description><link>https://forum.magicmirror.builders/post/94170</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/94170</guid><dc:creator><![CDATA[fribse]]></dc:creator><pubDate>Thu, 02 Sep 2021 16:33:54 GMT</pubDate></item><item><title><![CDATA[Reply to Some sort of JSON interpretation problem in newsfeed module on Sun, 29 Aug 2021 13:06:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fribse" aria-label="Profile: fribse">@<bdi>fribse</bdi></a> u could also copy the default from the doc, or the module source too</p>
]]></description><link>https://forum.magicmirror.builders/post/94028</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/94028</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 29 Aug 2021 13:06:54 GMT</pubDate></item><item><title><![CDATA[Reply to Some sort of JSON interpretation problem in newsfeed module on Sun, 29 Aug 2021 13:07:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fribse" aria-label="Profile: fribse">@<bdi>fribse</bdi></a> all things must be quoted in json, JavaScript only the right side of : needs quoting</p>
<p dir="auto">I use an online JSON validator to check my JSON files. this is my go-to<br />
<a href="https://codebeautify.org/jsonvalidator?/jsonvalidate" target="_blank" rel="noopener noreferrer nofollow ugc">https://codebeautify.org/jsonvalidator?/jsonvalidate</a><br />
click the top left corner and it will format the content.  great for understanding API returns</p>
<p dir="auto">I have never seen spaces make a difference</p>
<p dir="auto">maybe there is a tab in there?</p>
]]></description><link>https://forum.magicmirror.builders/post/94027</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/94027</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 29 Aug 2021 13:07:58 GMT</pubDate></item></channel></rss>