1
Good morning guys, I’m facing a problem currently, I need an API that can converge CSV to JSON via REST.
I have located several CSV to JSON converters on the web, but they are built for use in the browser and the return of conversions is usually only in the console tab of the browser debugger.
I am building an application that queries a CSV file on a file server, and converts it to JSON so that I store such a JSON in a Mongodb database. I’m using the APPERY.io platform for that. REST API tips for CSV->JSON conversion ?
Detail, API s for use with Node do not suit me because Node’s Javascript engine is the V8 google Core, and the engine used in the APPERY.io platform is Nashorn which is included in Java 8.
Grateful for the help.
There is a similar process question in stack overflow - Converting an csv file to a json Object in java (http://stackoverflow.com/questions/9524191/converting-an-csv-file-to-a-json-object-in-java).
– Rômulo Gabriel Rodrigues
Thank you @Rômulo Gabriel Rodrigues, but the issue is a little more complex, because the platform I’m using is based on Nashorn, which is an internal Javascript engine of Java 8, which differs a lot from V8 which is the Javascript engine of google Chrome of which NODE is used, the platform only accepts pure javascript codes. Hence my difficulty, because if possible I would use an API for Node, which would help a lot because it is more popularized. But thanks for the tip.
– Raphael Lima