https://github.com/over-run/json
JSON for Java
https://github.com/over-run/json
Last synced: 2 months ago
JSON representation
JSON for Java
- Host: GitHub
- URL: https://github.com/over-run/json
- Owner: Over-Run
- License: mit
- Created: 2021-10-28T09:41:45.000Z (over 3 years ago)
- Default Branch: 0.x
- Last Pushed: 2021-11-20T02:28:00.000Z (over 3 years ago)
- Last Synced: 2025-02-09T14:21:44.044Z (4 months ago)
- Language: Java
- Size: 115 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.txt
- License: LICENSE
Awesome Lists containing this project
README
# json 
[](https://github.com/Over-Run/json/actions/workflows/gradle.yml)







JSON for Java:coffee:.
[If there are any bugs, tell us!](https://github.com/Over-Run/json/issues/new)
## Use for depending on
```groovy
dependencies {
implementation "io.github.over-run:json:0.2.0"
}
```## Example
```java
import org.overrun.json.*;import java.io.*;
public class Example {
public static void main(String[] args) {
var json = new Json(true);
try (var w = new FileWriter("ex.json");
var bw = new BufferedWriter(w)) {
json.toJson(
ofObj("name",
ofStr("name", "value")
),
bw
);
}
}
}
```## Who are using
- [Overrun Organization](https://github.com/Over-Run/)