airbytehq / jsongenerator

A JSON data generator from JSON Schemas, provided as a Java library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSON Generator

Java CI JitPack

This is a Json object generator used in Airbyte. It is based on the jsongenerator authored by Jim Blackler.

Install

This library is available on JitPack. Check here for details.

  1. Add the JitPack repository to the root build.gradle:
allprojects {
  repositories {
    maven { url 'https://jitpack.io' }
  }
}
  1. Add the dependency
dependencies {
  implementation 'com.github.airbytehq:jsongenerator:<version>'
}

Publish

To publish a new version, tag the desired commit with a new version label.

VERSION=<new-version>
git tag -a "${VERSION}" -m "Version ${VERSION}"
git push origin "${VERSION}"

Changes

  • Add a DefaultConfig implementation of the Configuration interface.
  • Generate valid date and date-time fields more efficiently.
  • Set min object properties to 1.
  • Set min array items to 1.

License

The original jsongenerator is licensed under Apache 2.0.

CHANGELOG

Version Description
1.0.1 Publish to JitPack.

About

A JSON data generator from JSON Schemas, provided as a Java library.

License:Apache License 2.0


Languages

Language:Java 99.4%Language:JavaScript 0.6%