https://github.com/amirisback/json-builder
Json Generator With Kotlin
https://github.com/amirisback/json-builder
action cronjob json json-generator kotlin tools workflow
Last synced: about 2 months ago
JSON representation
Json Generator With Kotlin
- Host: GitHub
- URL: https://github.com/amirisback/json-builder
- Owner: amirisback
- License: apache-2.0
- Created: 2022-11-20T02:50:17.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-10T09:12:25.000Z (over 1 year ago)
- Last Synced: 2025-03-09T10:52:27.009Z (over 1 year ago)
- Topics: action, cronjob, json, json-generator, kotlin, tools, workflow
- Language: Kotlin
- Homepage: https://amirisback.github.io/json-generator/
- Size: 885 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
## Json Generator
Generate Json File With Simple Function
## Screen Shot

## How To Use
### Tools
- Intellij IDEA
- Kotlin v 1.8.0
### Using JsonGenerator
```kotlin
JsonGenerator.Builder().createJson(JsonArgument(fileName, data))
```
### Sample
```kotlin
object SimpleGenerator {
fun run() {
val random = (80..90)
val server1 = Server("amirisback.github.io", "192.168.0.1", random.random())
val server2 = Server("frogobox.github.io", "192.168.0.1", random.random())
val serverList = listOf(server1, server2)
val serverModel = BaseModel(serverList)
JsonGenerator.Builder().createJson(
argument = JsonArgument(
fileName = "server",
data = serverModel
)
)
}
}
```
## Colaborator
Very open to anyone, I'll write your name under this, please contribute by sending an email to me
- Mail To faisalamircs@gmail.com
- Subject : Github _ [Github-Username-Account] _ [Language] _ [Repository-Name]
- Example : Github_amirisback_kotlin_admob-helper-implementation
Name Of Contribute
- Muhammad Faisal Amir
- Waiting List
- Waiting List
Waiting for your contribute
## Attention !!!
- Please enjoy and don't forget fork and give a star
- Don't Forget Follow My Github Account