I have some data stored in file in JSON format. I'd like to read these
data and store them into database in rail application. Is there any
plugin to perform this? or direct code?
Should I convert this data to csv or other format?
I have some data stored in file in JSON format. I'd like to read these
data and store them into database in rail application. Is there any
plugin to perform this? or direct code?
ActiveSupport has some JSON stuff built in. Check the docs for
ActiveSupport::JSON.
Should I convert this data to csv or other format?
Either leave it in JSON or use YAML (which is *almost* a superset of
JSON).