thomas-siozos / Export-and-Visualization-Schema-s-Versions-from-JSON-Data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Export and Visualization Schema's Versions from JSON Data

The goal of this project is to export and visualize the different versions (schema) of the JSON data format. The processing of input files (JSON) is done with the Java and the help of the library Jackson. The visualization is done with the tool Google Charts, specifically with Org Charts, in HTML and JavaScript.

Table of Contents

Benchamrk

The benchmark was performed with the tool JMH with small size input files first and then with bigger size. As a result, the comparison was made between the Java's libraries, that support parsing of Json data format, to find out which one is faster.

Libraries

Run

mvn install
java -jar target/benchmarks.jar

Results

Small Files Table
Big Files Table

The tables show the Jackson library is fast to both cases.

Running the tests

The tests about some crucial methods are in the package testing. The framework JUnit was used.

Visualization

After the processing of the data the next step was to show the results to the user with a nice way to help him understand the differences between the versions. With JavaScript, HTML and the tool Google Charts the user is able to watch a chart with the versions through a browser.

Example of Visualization

Input file: cards.json
example

Output Files

Once the processing of the data is finished, output files will be created so that each file contains the versions that found in the input file.

Build With

  • Eclipse
  • Atom
  • Maven
  • Java Microbenchmark Harness
  • Java
  • HTML
  • JavaScript
  • Google Charts
  • Jackson
  • Swing
  • JUnit5

Versioning

v1.0.0

Authors

✏️ Siozos Thomas

Copyright

MIT © 2019 Siozos Thomas

About

License:MIT License


Languages

Language:Java 47.3%Language:JavaScript 38.5%Language:Rich Text Format 13.9%Language:HTML 0.2%