Skip to content

Commit a4a9deb

Browse files
committed
v0.3.0
1 parent 9f58ec0 commit a4a9deb

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
11
# Json2Kotlin
22

33
Documentation under construction 🔨
4+
5+
6+
## Running
7+
Run `./gradlew bootRun` and visit http://localhost:8080
8+
9+
## Releasing
10+
### Command Line
11+
Run `./gradlew assembleDist`, unzip the archive, and navigate to `bin`.
12+
13+
Then specify the json file, e.g.
14+
`./cmdline -input /c/Users/<User>/json2kotlin/bin/test.json`
15+
16+
### Spring
17+
Deploy the JAR to AWS using `./gradlew bootRepackage`

TODO.md

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
1-
21
## Task list
32

43
Ordered roughly in priority:
54

6-
- Writeup
75
- Test command line tool
8-
- Make website tool prettier/better
9-
- Throttle website tool/prepare for HN
106
- Write Readme
117
- Add GH topics/description
128

139
## Rough architecture
14-
15-
1610
1. Enqueue each element in a Queue using BFS, recording the level of each element.
1711
Each parent node should have direct access to its children, to allow it to retrieve their calculated type.
1812

@@ -23,4 +17,4 @@ Each parent node should have direct access to its children, to allow it to retri
2317
(C) Determine the nullability for each value at this level
2418
(D) Push any new type definitions onto a Stack, and a name pool
2519
(E) Add any new type definitions into a Collection for quick lookup
26-
4. Pop the stack until it is empty and write each type to the source file
20+
4. Pop the stack until it is empty and write each type to the source file

spring/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apply plugin: 'org.springframework.boot'
55

66
jar {
77
baseName = 'json2kotlin'
8-
version = '0.2.1'
8+
version = '0.3.0'
99
manifest {
1010
attributes 'Main-Class': 'AppKt'
1111
}

0 commit comments

Comments
 (0)