<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Keep json attribute case constant for equal objects"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/4.page</link>
		<description><![CDATA[Latest messages posted in the topic "Keep json attribute case constant for equal objects"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Keep json attribute case constant for equal objects</title>
				<description><![CDATA[ Hi there
I encountered that the JSON attribute used in some types isn't the same case.

One time it is all lower case and another time it is "postalCode". As JSON attribute names are case sensitive, this leads to problems when trying to map this to the same Java type.

See:

view-source:http://api.geonames.org/postalCodeLookupJSON?postalcode=6600&country=AT&username=demo

view-source:http://api.geonames.org/postalCodeSearchJSON?postalcode=9011&maxRows=10&username=demo

Those seems to return the same types but the "postalcode" is different in case.
]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/4022.page#11946</guid>
				<link>http://forum.geonames.org/gforum/posts/list/4022.page#11946</link>
				<pubDate><![CDATA[Mon, 15 Oct 2012 06:39:10]]> GMT</pubDate>
				<author><![CDATA[ kusig]]></author>
			</item>
			<item>
				<title>Re:Keep json attribute case constant for equal objects</title>
				<description><![CDATA[ I agree this is ugly and should not have happend in the first place.
Correcting it is difficult as it will break code of users. 

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/4022.page#11975</guid>
				<link>http://forum.geonames.org/gforum/posts/list/4022.page#11975</link>
				<pubDate><![CDATA[Sun, 28 Oct 2012 11:21:48]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
	</channel>
</rss>