You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> generates a JSON-parser for Java-objects at compile-time
3
3
4
4
Compile-time JSON-parser supports both non-private variables and properties.
@@ -10,12 +10,12 @@ The generated JSON-parser uses `org.json:json`.
10
10
* Download the sources
11
11
* Run `mvn clean install` in the directory of Compile-time JSON-parser
12
12
* Create a Maven Project in IntelliJ where you want to use Compile-time JSON-parser
13
-
* Add the following dependency to the `pom.xml` of the project where you want to use Compile-time JSON-parser
13
+
* Add the following dependency to the `pom.xml` of the project where you want to use Compile-time JSON-parser (replace `VERSION` with the version from [](https://maven-badges.herokuapp.com/maven-central/io.github.danthe1st/compile-time-json-parser))
14
14
```xml
15
15
<dependency>
16
16
<groupId>io.github.danthe1st</groupId>
17
17
<artifactId>compile-time-json-parser</artifactId>
18
-
<version>0.0.1-SNAPSHOT</version>
18
+
<version>VERSION</version>
19
19
</dependency>
20
20
```
21
21
* If you wish to use JPMS, also add the annotation processor to the `maven-compiler-plugin`
@@ -39,6 +39,7 @@ The generated JSON-parser uses `org.json:json`.
39
39
40
40
### Usage
41
41
* Create a data class and annotate it with `@GenerateJSON` like this:
0 commit comments