All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.melvinlow.json.schema.JsonSchema.scala Maven / Gradle / Ivy

package com.melvinlow.json.schema

import io.circe.Json

object JsonSchema {
  inline def apply[T: JsonSchemaEncoder]: Json = JsonSchemaEncoder[T].schema

  inline def apply[T: JsonSchemaEncoder](inline dummy: T): Json = apply[T]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy