Git Product home page Git Product logo

xlsx_to_json's Introduction

XLSX to JSON

Aplicación de línea de comandos que transforma archivos tipo Excel (.xlsx) a formato JSON.

Instrucciones

  1. Instala las dependencias necesarias utilizando bundle:

     bundle install
    
  2. Ejecuta el programa pasando como argumento el nombre del archivo .xlsx (asegurate que esté en el mismo directorio):

     ruby excel_to_json.rb nombre-del-archivo.xlsx 
    
  3. Disfruta!

Demo

XLSX to JSON Demo

xlsx_to_json's People

Contributors

benjamindiaz avatar dimartiro avatar nelyj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

xlsx_to_json's Issues

how to handle Roo::HeaderRowNotFoundError

ruby excel_to_json.rb excel_file.xlsx
/home/kr/.rvm/gems/ruby-2.3.1@ruby231rail5001/gems/roo-2.5.1/lib/roo/base.rb:400:in row_with': Roo::HeaderRowNotFoundError (Roo::HeaderRowNotFoundError) from /home/kr/.rvm/gems/ruby-2.3.1@ruby231rail5001/gems/roo-2.5.1/lib/roo/base.rb:574:inset_headers'
from /home/kr/.rvm/gems/ruby-2.3.1@ruby231rail5001/gems/roo-2.5.1/lib/roo/base.rb:469:in search_or_set_header' from /home/kr/.rvm/gems/ruby-2.3.1@ruby231rail5001/gems/roo-2.5.1/lib/roo/base.rb:366:ineach'
from excel_to_json.rb:30:in block (2 levels) in <main>' from excel_to_json.rb:23:ineach'
from excel_to_json.rb:23:in block in <main>' from excel_to_json.rb:9:ineach'
from excel_to_json.rb:9:in `

'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.