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
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

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
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

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workkloads.

Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Related

  • Modify JSON Data in Postgres and Hibernate 6
  • Exploring JSON Schema for Form Validation in Web Components
  • Datafaker Gen: Leveraging BigQuery Sink on Google Cloud Platform
  • Flexible Data Generation With Datafaker Gen

Trending

  • The Cypress Edge: Next-Level Testing Strategies for React Developers
  • Key Considerations in Cross-Model Migration
  • Transforming AI-Driven Data Analytics with DeepSeek: A New Era of Intelligent Insights
  • Rust and WebAssembly: Unlocking High-Performance Web Apps
  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.

By 
Alok Ranjan Meher user avatar
Alok Ranjan Meher
DZone Core CORE ·
Jul. 23, 20 · Code Snippet
Likes (2)
Comment
Save
Tweet
Share
10.6K 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.

Related

  • Modify JSON Data in Postgres and Hibernate 6
  • Exploring JSON Schema for Form Validation in Web Components
  • Datafaker Gen: Leveraging BigQuery Sink on Google Cloud Platform
  • Flexible Data Generation With Datafaker Gen

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

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

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!