<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JSON Archives - Krasen Slavov</title>
	<atom:link href="https://krasenslavov.com/tag/json/feed/" rel="self" type="application/rss+xml" />
	<link>https://krasenslavov.com/tag/json/</link>
	<description>WordPress Plugins, Themes and Writings</description>
	<lastBuildDate>Wed, 03 Dec 2025 03:47:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://storage.googleapis.com/krasenslavov/2022/02/c96f34cb-cropped-krasenslavov-logo-v2-150x150.png</url>
	<title>JSON Archives - Krasen Slavov</title>
	<link>https://krasenslavov.com/tag/json/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>json_encode() vs wp_json_encode(): Choosing the Right JSON Encoding Function in WordPress</title>
		<link>https://krasenslavov.com/json_encode-vs-wp_json_encode-choosing-the-right-json-encoding-function-in-wordpress/</link>
					<comments>https://krasenslavov.com/json_encode-vs-wp_json_encode-choosing-the-right-json-encoding-function-in-wordpress/#respond</comments>
		
		<dc:creator><![CDATA[Krasen Slavov]]></dc:creator>
		<pubDate>Sat, 02 Nov 2024 06:36:00 +0000</pubDate>
				<category><![CDATA[Pro Tips]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[PHP functions]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress development]]></category>
		<category><![CDATA[wp_json_encode]]></category>
		<guid isPermaLink="false">https://krasenslavov.com/?p=2626</guid>

					<description><![CDATA[<p>When working in WordPress, encoding data to JSON format is often necessary, especially when creating plugins, themes, or handling REST API responses. Both json_encode() and wp_json_encode() are commonly used for this purpose, yet each serves slightly different roles. The core PHP function json_encode() provides basic&#8230;</p>
<p>The post <a href="https://krasenslavov.com/json_encode-vs-wp_json_encode-choosing-the-right-json-encoding-function-in-wordpress/">json_encode() vs wp_json_encode(): Choosing the Right JSON Encoding Function in WordPress</a> appeared first on <a href="https://krasenslavov.com">Krasen Slavov</a>.</p>
]]></description>
		
					<wfw:commentRss>https://krasenslavov.com/json_encode-vs-wp_json_encode-choosing-the-right-json-encoding-function-in-wordpress/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
