<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Json on It Must Be Code!</title><link>https://itmustbecode.com/tags/json/</link><description>Recent content in Json on It Must Be Code!</description><generator>Hugo</generator><language>en-CA</language><lastBuildDate>Sun, 19 Oct 2025 21:21:41 +0000</lastBuildDate><atom:link href="https://itmustbecode.com/tags/json/feed.xml" rel="self" type="application/rss+xml"/><item><title>PCF Controls Tips &amp; Tricks: How to Bundle and Resolve Static JSON Files</title><link>https://itmustbecode.com/pcf-controls-tips-tricks-how-to-bundle-and-resolve-static-json-files/</link><pubDate>Sun, 19 Oct 2025 21:21:41 +0000</pubDate><guid isPermaLink="false">https://itmustbecode.com/pcf-controls-tips-tricks-how-to-bundle-and-resolve-static-json-files/</guid><description>&lt;p&gt;&lt;strong&gt;JSON files&lt;/strong&gt; are one of the most common and convenient ways to store structured data. They’re lightweight, human-readable, and easy to parse in JavaScript. In PCF Control development, they can be used a quick and convenient way to store and access static data.&lt;/p&gt;
&lt;p&gt;In this post, I’ll show you how to easily &lt;strong&gt;configure&lt;/strong&gt; your PCF control projects to bundle static JSON files and resolve their contents at runtime.&lt;/p&gt;
&lt;figure&gt;&lt;img src="./image-3.png"loading="lazy"&gt;&lt;/figure&gt;
&lt;h2 id="how-it-started"&gt;&lt;strong&gt;How it started&lt;/strong&gt;
&lt;/h2&gt;&lt;p&gt;It all started when I began receiving complaints that my open-source &lt;a class="link" href="https://github.com/drivardxrm/CountryPicker.PCF" target="_blank" rel="noopener"
&gt;&lt;strong&gt;Country Picker PCF&lt;/strong&gt;&lt;/a&gt; control had suddenly stopped working properly. After some investigation, I realized the issue came from its dependency on a free third-party service used to query the country data— &lt;strong&gt;restcountries&lt;/strong&gt;.&lt;/p&gt;</description></item></channel></rss>