<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: [原] 根据struct生成基于JSON-C的json_object代码(auto generate function of C struct to JSON)</title>
	<link>http://bianbian.org/technology/292.html</link>
	<description>便便代码人生: 关注技术, 翻译文档, 偶尔动动手</description>
	<pubDate>Fri, 09 Jan 2009 13:17:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: bianbian</title>
		<link>http://bianbian.org/technology/292.html#comment-7981</link>
		<dc:creator>bianbian</dc:creator>
		<pubDate>Tue, 24 Jun 2008 13:43:12 +0000</pubDate>
		<guid>http://bianbian.org/technology/292.html#comment-7981</guid>
		<description>pointer ... I think there is no simple way to handle this. Because the pointer is only the address in memory, maybe it needs more functions.</description>
		<content:encoded><![CDATA[<p>pointer &#8230; I think there is no simple way to handle this. Because the pointer is only the address in memory, maybe it needs more functions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Govan Hooper</title>
		<link>http://bianbian.org/technology/292.html#comment-7969</link>
		<dc:creator>Govan Hooper</dc:creator>
		<pubDate>Mon, 23 Jun 2008 04:56:42 +0000</pubDate>
		<guid>http://bianbian.org/technology/292.html#comment-7969</guid>
		<description>Sooooooooo cooooooooool

But how to convert a C struct which include pointer field point to a struct ?
For example: 

struct LOCK_IP {
	char           ip[20]; //lock ip
	int            time;   //lock time
	float          a;      //just e.g.
	double         b;
	char           c;
	unsigned char  d;
	unsigned int   e;
         struct LOCK_IP* next;
         struct someObj* obj;
};

Shall I define the function json_object_new_undefined() by myself ?
Thanks</description>
		<content:encoded><![CDATA[<p>Sooooooooo cooooooooool</p>
<p>But how to convert a C struct which include pointer field point to a struct ?<br />
For example: </p>
<p>struct LOCK_IP {<br />
	char           ip[20]; //lock ip<br />
	int            time;   //lock time<br />
	float          a;      //just e.g.<br />
	double         b;<br />
	char           c;<br />
	unsigned char  d;<br />
	unsigned int   e;<br />
         struct LOCK_IP* next;<br />
         struct someObj* obj;<br />
};</p>
<p>Shall I define the function json_object_new_undefined() by myself ?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sunshow</title>
		<link>http://bianbian.org/technology/292.html#comment-7623</link>
		<dc:creator>Sunshow</dc:creator>
		<pubDate>Wed, 09 Apr 2008 04:13:36 +0000</pubDate>
		<guid>http://bianbian.org/technology/292.html#comment-7623</guid>
		<description>编码原因吗
我这不好使
还乱码</description>
		<content:encoded><![CDATA[<p>编码原因吗<br />
我这不好使<br />
还乱码</p>
]]></content:encoded>
	</item>
</channel>
</rss>
