Skip to content

XDzzzzzZyq/JSONGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSONGenerator

JSON generator from Excel files with template.

- Dependencies

  • openpyxl

- Usage

using template to build up the links between Excel and JSON entries

  • Excel column names → match template → JSON path

- Format

formats of the entries in Excel dataset

  1. string: example
  2. int & float: 15, 1.0
  3. range: [-1,100]
  4. list: [here, is, example], ["here", "is", "example"]
  5. dict: - NO dictionary as entries, instead using column names to locate the position directly.