Hi,
I need to pass (via string content of a HTTP request/response body)
name value pairs of data (like a hash) back from a Ruby on Rails
server to a C# client.
Anyone happen to know offhand what would be the best format to do this
in? Probably XML I would guess?
tks
–
You received this message because you are subscribed to the Google
Groups “Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
greghauptmann wrote:
Hi,
I need to pass (via string content of a HTTP request/response body)
name value pairs of data (like a hash) back from a Ruby on Rails
server to a C# client.
Anyone happen to know offhand what would be the best format to do this
in? Probably XML I would guess?
No, XML is a bit too heavy. I’d usually advise JSON or Yaml.
tks
–
You received this message because you are subscribed to the Google
Groups “Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
Best,
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
JSON might be better suited for key=>value pairs… depends on your app
i
suppose. Also dont know about json support in C#, but it’s pretty much a
web
standard as far as i know…
On Wed, Dec 30, 2009 at 1:12 AM, greghauptmann
[email protected]wrote:
–
You received this message because you are subscribed to the Google
Groups “Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
do you know offhand then whether C# has a library to parse JSON or
Yaml to C# variables?
On Dec 30, 9:15 am, Marnen Laibow-Koser [email protected] wrote:
No, XML is a bit too heavy. I’d usually advise JSON or Yaml.
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
Best,
Marnen Laibow-Koserhttp://www.marnen.org
[email protected]
Posted viahttp://www.ruby-forum.com/.
–
You received this message because you are subscribed to the Google
Groups “Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
json rocks
On Tue, Dec 29, 2009 at 4:12 PM, greghauptmann
[email protected] wrote:
–
You received this message because you are subscribed to the Google G. “Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
–
You received this message because you are subscribed to the Google
Groups “Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
http://www.json.org/
list at the bottom for languages
On Tue, Dec 29, 2009 at 4:17 PM, greghauptmann
[email protected] wrote:
Marnen Laibow-Koserhttp://www.marnen.org
–
You received this message because you are subscribed to the Google
Groups “Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
greghauptmann wrote:
do you know offhand then whether C# has a library to parse JSON or
Yaml to C# variables?
No, but the JSON and (I think) Yaml websites list a number of libraries
for various languages. There’s almost certainly a JSON library at the
very least.
On Dec 30, 9:15�am, Marnen Laibow-Koser [email protected] wrote:
No, XML is a bit too heavy. �I’d usually advise JSON or Yaml.
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
Best,
Marnen Laibow-Koserhttp://www.marnen.org
[email protected]
Posted viahttp://www.ruby-forum.com/.
–
You received this message because you are subscribed to the Google
Groups “Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
On Tue, Dec 29, 2009 at 3:12 PM, greghauptmann
[email protected]wrote:
I would recommend JSON and you can find out what’s available at
json.org.
Good luck,
-Conrad
–
You received this message because you are subscribed to the Google
Groups “Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.