<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'Check if a string it's json encoded using regular expressions'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Thu, 16 Apr 2026 00:11:41 +0000</lastBuildDate>
    <item>
      <title>jatubio said on 28/Jan/2011</title>
      <link>https://snipplr.com/view/47562/check-if-a-string-its-json-encoded-using-regular-expressions</link>
      <description>&lt;p&gt;It's not working for me..&#13;
&#13;
is_json(json_encode(array("Id"=&gt;39))); return true&#13;
&#13;
but&#13;
&#13;
is_json(json_encode(array("SessionId"=&gt;39))); return false&lt;/p&gt;</description>
      <pubDate>Fri, 28 Jan 2011 00:29:41 UTC</pubDate>
      <guid>https://snipplr.com/view/47562/check-if-a-string-its-json-encoded-using-regular-expressions</guid>
    </item>
    <item>
      <title>janesbenth said on 21/Mar/2023</title>
      <link>https://snipplr.com/view/47562/check-if-a-string-its-json-encoded-using-regular-expressions</link>
      <description>&lt;p&gt;I sincerely appreciate it. I learned a great deal from your post, which helped me widen my horizons. Thank you very much
[heardle](https://heardle-wordle.com/)&lt;/p&gt;</description>
      <pubDate>Tue, 21 Mar 2023 01:52:50 UTC</pubDate>
      <guid>https://snipplr.com/view/47562/check-if-a-string-its-json-encoded-using-regular-expressions</guid>
    </item>
  </channel>
</rss>
