dumping JSON to File OR http

Jun 6, 2008 at 8:42am

dumping JSON to File OR http

is there an easy way to dump/read an object to/from a file in JSON format, without iterating through the entire object and using File#writeline/readline ?

alternately (actually even preferably), is there an HTTP Library for js that will allow me to do GET PUT and DELETE requests for sending and receiving JSON data? For my other development work I’ve been playing around with CouchDB recently, an HTTP/REST-based JSON store and am quite liking it so far.

#38267
Jun 7, 2008 at 12:20am

Ok, somebody embed Erlang in Max.

bt

On Jun 6, 2008, at 1:43 AM, Matt Lyon wrote:

>
> is there an easy way to dump/read an object to/from a file in JSON
> format, without iterating through the entire object and using
> File#writeline/readline ?
>
> alternately (actually even preferably), is there an HTTP Library for
> js that will allow me to do GET PUT and DELETE requests for sending
> and receiving JSON data? For my other development work I’ve been
> playing around with CouchDB recently, an HTTP/REST-based JSON store
> and am quite liking it so far.

barry threw
Media Art and Technology

San Francisco, CA
Work: 857-544-3967
Email: bthrew (at) gmail (dot) com
Web: http://www.barrythrew.com

#133173
Jun 8, 2008 at 1:30am

> Ok, somebody embed Erlang in Max.

Yeah, that’s the last thing I want

#133174

You must be logged in to reply to this topic.