Custom CSV to JSON tools

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,848
First Language
English
I have found some csv to json tools

http://codebeautify.org/csv-to-xml-json

http://www.csvjson.com/csv2json

However, they are not suitable for me.

I am using CSV files as 2D tables, rather than row-based entries.

Here is an example

Code:
Level,Chimg,Acquire-chan,B2,Satia1,0,0,0,02,100,100,100,1003,200,200,200,200
The resulting JSON should be
Code:
{  "Chimg" : [0, 100, 200],  "Acquire-chan" : [0, 100, 200],  "B2" : [0, 100, 200],  "Satia" : [0, 100, 200]}
Short of writing one myself, is there a CSV to JSON tool that I can distribute with my plugins that will allow me to specify how the conversion should occur?
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,546
Reaction score
3,717
First Language
Java's Crypt
Primarily Uses
RMMZ
I really really doubt it.

Creating a dynamic JSON editor would be the best approach. This is one of my ideas on the very very low priority list.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,848
First Language
English
Hmm I just realized I could just take the JSON and parse it into my own data structure.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,015
Messages
1,018,351
Members
137,801
Latest member
topsan
Top