All Projects → fractalwrench → Json 2 Kotlin

fractalwrench / Json 2 Kotlin

Licence: mit
Convert JSON to Kotlin Data Classes

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Json 2 Kotlin

Commandtrayhost
A command line program monitor systray for Windows
Stars: ✭ 303 (+104.73%)
Mutual labels:  command-line-tool, command-line, json
Tq
Perform a lookup by CSS selector on an HTML input
Stars: ✭ 193 (+30.41%)
Mutual labels:  command-line-tool, command-line, json
Jl
Functional sed for JSON
Stars: ✭ 449 (+203.38%)
Mutual labels:  command-line-tool, command-line, json
Fblog
Small command-line JSON Log viewer
Stars: ✭ 137 (-7.43%)
Mutual labels:  command-line-tool, command-line, json
Jsonui
jsonui is an interactive JSON explorer on your command line
Stars: ✭ 583 (+293.92%)
Mutual labels:  command-line-tool, command-line, json
Desktoppr
Simple command line tool to set the desktop picture on macOS
Stars: ✭ 127 (-14.19%)
Mutual labels:  command-line-tool, command-line
Check It Out
A command line interface for Git Checkout. See branches available for checkout.
Stars: ✭ 127 (-14.19%)
Mutual labels:  command-line-tool, command-line
Onhold
🔊 Play sounds while and after shell jobs complete
Stars: ✭ 146 (-1.35%)
Mutual labels:  command-line-tool, command-line
Git Tidy
Tidy up stale git branches.
Stars: ✭ 137 (-7.43%)
Mutual labels:  command-line-tool, command-line
Hmap
hmap is a command line tool written in Swift to work with Clang header maps produced by Xcode.
Stars: ✭ 110 (-25.68%)
Mutual labels:  command-line-tool, command-line
Asciigraph
Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
Stars: ✭ 1,805 (+1119.59%)
Mutual labels:  command-line, command-line-tool
Rq
Record Query - A tool for doing record analysis and transformation
Stars: ✭ 1,808 (+1121.62%)
Mutual labels:  command-line-tool, json
Typin
Declarative framework for interactive CLI applications
Stars: ✭ 126 (-14.86%)
Mutual labels:  command-line-tool, command-line
Dynein
DynamoDB CLI written in Rust.
Stars: ✭ 126 (-14.86%)
Mutual labels:  command-line-tool, command-line
Keycloak Config Cli
Import YAML/JSON-formatted configuration files into Keycloak - Configuration as Code for Keycloak.
Stars: ✭ 147 (-0.68%)
Mutual labels:  json, spring-boot
Json Voorhees
A killer modern C++ library for interacting with JSON.
Stars: ✭ 120 (-18.92%)
Mutual labels:  json, json-serialization
Jsonwatch
Track changes in JSON data from the command line
Stars: ✭ 130 (-12.16%)
Mutual labels:  command-line-tool, json
Gossed
Push the standard output of ANY program to browsers as Server Sent Events
Stars: ✭ 138 (-6.76%)
Mutual labels:  command-line-tool, command-line
Pueue
🌠 Manage your shell commands.
Stars: ✭ 2,471 (+1569.59%)
Mutual labels:  command-line-tool, command-line
Spotify Json
Fast and nice to use C++ JSON library.
Stars: ✭ 145 (-2.03%)
Mutual labels:  json, json-serialization

Json2Kotlin

Converts a JSON string into Kotlin data classes.

About

As you've probably guessed by now, this project automatically converts JSON to Kotlin source files. The tool itself is implemented 100% in Kotlin, and makes heavy use of Square's excellent KotlinPoet library.

Read the blog post which covers how this multi-platform tool was written.

View the source to suggest improvements.

Grab the command line tool from the latest release.

Get in touch on Twitter if you have questions, comments, or simply enjoy high-quality cat gifs.

Running

Run ./gradlew bootRun and visit http://localhost:8080

Releasing

Command Line

Run ./gradlew assembleDist, unzip the archive, and navigate to bin.

Then specify the json file, e.g. ./cmdline -input /c/Users/<User>/json2kotlin/bin/test.json

Spring

Deploy the JAR to AWS using ./gradlew bootRepackage

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].