<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Visual Basic .NET Forums - Windows Communication Foundation (WCF)</title>
		<link>http://www.vbdotnetforums.com/</link>
		<description />
		<language>en</language>
		<lastBuildDate>Thu, 23 May 2013 23:59:37 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.vbdotnetforums.com/images/misc/rss.png</url>
			<title>Visual Basic .NET Forums - Windows Communication Foundation (WCF)</title>
			<link>http://www.vbdotnetforums.com/</link>
		</image>
		<item>
			<title>reproduce a particular JSON format</title>
			<link>http://www.vbdotnetforums.com/windows-communication-foundation-wcf/57044-reproduce-particular-json-format.html</link>
			<pubDate>Tue, 30 Apr 2013 18:38:20 GMT</pubDate>
			<description><![CDATA[I'm using WCF on my VB services to return JSON and am running into issues where I can not reproduce a particular format.  The JSON I would like returned looks something like: 
 
{tuples: [ 
[[north,1.8,2.5],[south,1.3,-1.4],[east,1.1,0]], 
[[north,1.9,2.4],[west,10.34,4.76]]] 
} 
 
If I used a...]]></description>
			<content:encoded><![CDATA[<div>I'm using WCF on my <acronym title="Visual Basic">VB</acronym> services to return JSON and am running into issues where I can not reproduce a particular format.  The JSON I would like returned looks something like:<br />
<br />
{<div style="margin-left:40px">tuples: [</div><div style="margin-left:80px">[[north,1.8,2.5],[south,1.3,-1.4],[east,1.1,0]],<br />
[[north,1.9,2.4],[west,10.34,4.76]]</div><div style="margin-left:40px">]</div>}<br />
<br />
If I used a class that contains a List(Of List(Of String)) or a multi-String array, to be returned by WCF the output always looks like:<br />
<br />
{<div style="margin-left:40px">tuples: [</div><div style="margin-left:80px">[0: north,1.8,2.5, 1: south,1.3,-1.4, 2: east,1.1,0],<br />
[0: north,1.9,2.4, 1: west,10.34,4.76]</div><div style="margin-left:40px">]</div>}<br />
<br />
The JSON translation adds the step of the list/array into the JSON string.<br />
<br />
Any ideas on how to produce the appropriate JSON output with WCF and <acronym title="Visual Basic">VB</acronym>?</div>

]]></content:encoded>
			<category domain="http://www.vbdotnetforums.com/windows-communication-foundation-wcf/">Windows Communication Foundation (WCF)</category>
			<dc:creator>moraleslos</dc:creator>
			<guid isPermaLink="true">http://www.vbdotnetforums.com/windows-communication-foundation-wcf/57044-reproduce-particular-json-format.html</guid>
		</item>
	</channel>
</rss>
