[PLUGIN] CSV, CSV2Array, CSV2Dictionary

Post your completed addons to share with the community

Post » Fri Nov 18, 2011 9:09 pm

Thanks
B
90
S
5
G
8
Posts: 165
Reputation: 7,648

Post » Tue Dec 27, 2011 5:30 pm

Hi!

I have a problem with this plugins.
I can't use a data Cell with a "," in it.

I tried the double quotes, but it don't work.

If I put this Csv string :

",WARRIOR,THIEF,MONKS
HP,100,70,50
ATK,"5,5",7,2
DEF,3,1,1"

It just don't accept it.

Thanks for the Help


R73 by the way
B
12
S
2
G
5
Posts: 73
Reputation: 3,570

Post » Tue Dec 27, 2011 5:48 pm

Is it possible to parse JSON data with API's, Like this -
http://api.twitter.com/1/trends/current.json
B
29
S
12
G
7
Posts: 740
Reputation: 7,849

Post » Tue Dec 27, 2011 11:56 pm

@smitchell

CSV plugin mainly parses CSV text file, so it's better making another plugin like hash to parse JSON string.
But the JSON string maybe return a array....
Anyway, I can make a hash plugin to do this.rexrainbow2011-12-28 00:06:11
B
97
S
22
G
179
Posts: 4,126
Reputation: 104,559

Post » Wed Dec 28, 2011 12:04 am

@guicole

It's work fine in my C2 editor. The csv plugin can parse it.
If you paste the CSV string into C2 editor, remember to replace " to ""

[code]",WARRIOR,THIEF,MONKS
HP,100,70,50
ATK,""5,5"",7,2
DEF,3,1,1"[/code]rexrainbow2011-12-28 00:04:56
B
97
S
22
G
179
Posts: 4,126
Reputation: 104,559

Post » Wed Dec 28, 2011 12:52 am

Cool!! So you are gonna make a hash plugin? That would mean we could use practically any api !!!! :D
B
29
S
12
G
7
Posts: 740
Reputation: 7,849

Post » Wed Dec 28, 2011 2:37 am

@smitchell

A hash plgin only can transfer JSON to javascript's object and help user access these data from event sheet.
If you need more flexible and powerful processing, try to use function plugin with injecting your javascript code string.rexrainbow2011-12-28 02:39:24
B
97
S
22
G
179
Posts: 4,126
Reputation: 104,559

Post » Wed Dec 28, 2011 6:10 am

Nice!
I might have missed it but can you write data to csv w/ this plugin?
B
29
S
5
G
6
Posts: 58
Reputation: 5,121

Post » Wed Dec 28, 2011 6:17 am

@ayzhong

Yes, "Action:Set entry" can write data to csv table.
B
97
S
22
G
179
Posts: 4,126
Reputation: 104,559

Post » Wed Dec 28, 2011 6:59 pm

rite, thanks! awesome!
B
29
S
5
G
6
Posts: 58
Reputation: 5,121

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest