Thanks a lot kelly,
I wrote the php script and all working fine,
http://nitin.tech4you.org/Stock%20Widget.html
thanks again..
regards,
Nitin Sawant
On May 21, 8:08 pm, Kelly wrote:
> Brian said that JSON uses a key:value format, but it is really just a
> shorthand for Javascript literals. Whi
Brian said that JSON uses a key:value format, but it is really just a
shorthand for Javascript literals. Which means you can easily
represent ordered lists like CSV data as well:
[ [ 'c', 's', 'v' ], [ 'c', 's', 'v' ], ... ]
To get around the cross-domain restrictions and to solve your
conversio
Thanks a lot to all for helping me,
now i got why i was stuck. (Cross-domain restrictions)
regards,
Nitin Sawant
On May 21, 5:24 am, "Michael Geary" wrote:
> Hi Nitin,
>
> Are you trying to do this conversion in JavaScript, or on your server?
>
> Parsing a CSV file as simple as this one is tri
Hello Mike,
Thanks for your reply.
The code works fine on localhost but when i upload it to
server, nothing happens, I think there is prob of Cross-domain
restrictions.
Do you know how to do this in php?
I mean convert csv file to javascript array/json?
regards,
Hi Nitin,
Are you trying to do this conversion in JavaScript, or on your server?
Parsing a CSV file as simple as this one is trivial, in JavaScript or in any
reasonable server language. (BTW, you wouldn't convert it to JSON, but to a
two-dimensional array.) Ah... I just checked your bytes.com po
I've posted that topic on bytes.com also
http://bytes.com/topic/javascript/answers/869610-convert-google-finance-data-array
On May 20, 7:45 pm, brian wrote:
> There's quite a difference between the two. JSON uses a key: value
> format, while CSV is generally value only
>
>
>
> On Wed, May 20, 2
Hello,
Thanks for your reply.
Actually i'm retrieving data from google finance site in csv
format.
http://finance.google.com/finance/historical?q=GOOG&startdate=May+1%2C+2009&enddate=May+5%2C+2009&start=225&num=25&output=csv
I want to convert that data to json or any suitable f
There's quite a difference between the two. JSON uses a key: value
format, while CSV is generally value only
On Wed, May 20, 2009 at 6:28 AM, Nitin Sawant wrote:
>
> How to convert csv file to json using jquery / javascript??
If, by any chance, you are using php as serverside language, you can
use http://en.php.net/manual/en/function.json-encode.php for this.
On 20 mei, 12:28, Nitin Sawant wrote:
> How to convert csv file to json using jquery / javascript??
What server side language?
On May 20, 6:28 am, Nitin Sawant wrote:
> How to convert csv file to json using jquery / javascript??
there are some applications for doing this, but you'd be much better
serving the data as JSON than trying to convert it on the fly which
would be a massive overhead trying to do it in jquery.
On May 20, 11:28 am, Nitin Sawant wrote:
> How to convert csv file to json using jquery / javascript??
11 matches
Mail list logo