DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Building Scalable Real-Time Apps with AstraDB and Vaadin
Register Now

Trending

  • Transactional Outbox Patterns Step by Step With Spring and Kotlin
  • Replacing Apache Hive, Elasticsearch, and PostgreSQL With Apache Doris
  • Never Use Credentials in a CI/CD Pipeline Again
  • MLOps: Definition, Importance, and Implementation

Trending

  • Transactional Outbox Patterns Step by Step With Spring and Kotlin
  • Replacing Apache Hive, Elasticsearch, and PostgreSQL With Apache Doris
  • Never Use Credentials in a CI/CD Pipeline Again
  • MLOps: Definition, Importance, and Implementation
  1. DZone
  2. Data Engineering
  3. Data
  4. Generating JSON Data From an Excel File

Generating JSON Data From an Excel File

In this brief article, see how to generate JSON from an Excel file with a Java tool.

Alok Ranjan Meher user avatar by
Alok Ranjan Meher
CORE ·
Jul. 23, 20 · Code Snippet
Like (2)
Save
Tweet
Share
9.88K Views

Join the DZone community and get the full member experience.

Join For Free

In the industry, there are many formats in which data can be stored. And each data format has its own limitation. In spite of there limitations, the JSON data format is very popular in the tech industry. Nowadays it is widely used everywhere. Microservices makes is very popular. But it comes with a very painful limitation. And the limitation is giving a comment. It is simply not possible to comment on a JSON file or data. And data without comment or documentation is very painful or dubious to understand or makes is difficult to make others understand. 

A developer or architect can understand the JSON data, but make it meaningful to management to understand is painful. In this situation, we need a tool that can mitigate this pain. Just like a situation, where a person has written the data required for the address of a person or locality in an excel file as the image attached below:

The above data are meaningful and easy to understand but needs to be converted into JSON format.

The JSON below is the generated one. Which we usually expected from the Excel file.

JSON
 




x


 
1
{
2
    "name": "",
3
    "house": "",
4
    "street_one": "",
5
    "street_two": "",
6
    "post_office": "",
7
    "district": "",
8
    "state": "",
9
    "country": "",
10
    "pincode": ""
11
}
12

          



Now, anybody can write or ask for clarification in the excel sheet, and still, they can generate the JSON data format with the help of the JSON data generating java tool called ExcelToJSON. The tool is available at Git repository Git Repo: Excel to JSON

Any improvements or suggestions are welcome.

JSON Data (computing)

Opinions expressed by DZone contributors are their own.

Trending

  • Transactional Outbox Patterns Step by Step With Spring and Kotlin
  • Replacing Apache Hive, Elasticsearch, and PostgreSQL With Apache Doris
  • Never Use Credentials in a CI/CD Pipeline Again
  • MLOps: Definition, Importance, and Implementation

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: