A
A
Alexey2018-04-18 14:26:08
JSON
Alexey, 2018-04-18 14:26:08

Is csv to json real?

Hello!
Given several data files with products in .csv , WP format.
You need to get data from csv and compare by specified fields and by price on the frontend.
Since csv files are large, it is not convenient to import them with different plugins.
I have an idea - convert Csv to json, mix products from different CSVs and display on WP.
- prompt working solution Csv to json.
- prompt json to Wp solution.
- how to organize comparison module using json?
Maybe someone had experience? And is it actually a workflow? or is it bullshit?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Shashenkov, 2018-04-18
@alexey66

This is nonsense, it's easier to store in the database. And to get from the database, it will be faster and more reliable, it will be easier to update the data. Another option is to split csv into categories, receive csv on the client. Convert using workers csv to json , and client using workers to compare. Don't do it on the same thread as the client code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question