<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: json_object_object_get: Get a json object</title>
	<atom:link href="http://joysofprogramming.com/json_object_object_get/feed/" rel="self" type="application/rss+xml" />
	<link>http://joysofprogramming.com/json_object_object_get/</link>
	<description>Programming made simpler, easier and Joyful experience</description>
	<lastBuildDate>Tue, 31 Jan 2012 17:53:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: eric</title>
		<link>http://joysofprogramming.com/json_object_object_get/#comment-1186</link>
		<dc:creator>eric</dc:creator>
		<pubDate>Wed, 21 Dec 2011 16:12:32 +0000</pubDate>
		<guid isPermaLink="false">http://joysofprogramming.com/?p=967#comment-1186</guid>
		<description>You need to call json_object_put on any constructed object that isn&#039;t part of another object.  E.g. in this example, there should be a json_object_put(jobj) in main().
There is a reference counting scheme implemented, so if you know you&#039;re going to use the same object as part of two different things you can use json_object_get to bump the ref count, and it&#039;ll only be freed when the ref count goes to 0.</description>
		<content:encoded><![CDATA[<p>You need to call json_object_put on any constructed object that isn&#8217;t part of another object.  E.g. in this example, there should be a json_object_put(jobj) in main().<br />
There is a reference counting scheme implemented, so if you know you&#8217;re going to use the same object as part of two different things you can use json_object_get to bump the ref count, and it&#8217;ll only be freed when the ref count goes to 0.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joys of Programming</title>
		<link>http://joysofprogramming.com/json_object_object_get/#comment-484</link>
		<dc:creator>Joys of Programming</dc:creator>
		<pubDate>Tue, 18 Jan 2011 18:48:24 +0000</pubDate>
		<guid isPermaLink="false">http://joysofprogramming.com/?p=967#comment-484</guid>
		<description>Note that you must free every time the json object created after use, not just the last one...</description>
		<content:encoded><![CDATA[<p>Note that you must free every time the json object created after use, not just the last one&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ramzez</title>
		<link>http://joysofprogramming.com/json_object_object_get/#comment-483</link>
		<dc:creator>ramzez</dc:creator>
		<pubDate>Tue, 18 Jan 2011 17:12:22 +0000</pubDate>
		<guid isPermaLink="false">http://joysofprogramming.com/?p=967#comment-483</guid>
		<description>how is memory managed? i tried using this example i can see that the code is leaking although i do call json_tokener_free() at the end?</description>
		<content:encoded><![CDATA[<p>how is memory managed? i tried using this example i can see that the code is leaking although i do call json_tokener_free() at the end?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  joysofprogramming.com/json_object_object_get/feed/ ) in 0.57356 seconds, on Feb 8th, 2012 at 6:27 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 8th, 2012 at 7:27 am UTC -->
