From: David <dba...@gm...> - 2006-02-01 18:51:29
|
From my existing Cocoa app I would like to pass several NSArray's to Ruby, manipulate them in Ruby, serialize the arrays in JSON format, and return that data back to Cocoa. Does this seem like a reasonable task for the RubyCocoa bridge? I see ruby 1.8+ has a to_yaml method for objects but how do I produce JSON format for the arrays? |