object DiscoverSchema
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DiscoverSchema
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def discover(jsons: Iterator[JValue])(implicit p: JsonoidParams): JsonSchema[_]
Perform schema discovery on a set of JSON objects.
Perform schema discovery on a set of JSON objects.
- jsons
an iterator of JSON objects to perform schema discovery on
- returns
the discovered schema
- def discoverFromValue(value: JValue)(implicit p: JsonoidParams): Option[JsonSchema[_]]
Discover a schema from a single JSON object.
Discover a schema from a single JSON object.
- value
the JSON object to discover the schema for
- Annotations
- @SuppressWarnings()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit val equivalenceRelationRead: Read[EquivalenceRelation]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def jsonFromSource(source: Source): Iterator[JValue]
Produce an iterator of JSON objects from a source.
- def main(args: Array[String]): Unit
- Annotations
- @SuppressWarnings()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit val propertySetRead: Read[PropertySet]
- def splitDiscover(jsons: Iterator[JValue], splitFraction: Double = 0.9f)(implicit p: JsonoidParams): (JsonSchema[_], JsonSchema[_])
Perform split schema discovery by randomly splitting the input and generating two different schemas.
Perform split schema discovery by randomly splitting the input and generating two different schemas.
- jsons
an iterator of JSON objects to perform schema discovery on
- returns
a tuple of the discovered schemas
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def transformSchema(schema: JsonSchema[_], otherSchema: Option[JsonSchema[_]] = None, addDefinitions: Boolean = false, detectDynamic: Boolean = false, detectDisjoint: Boolean = false, findEnums: Boolean = true)(implicit p: JsonoidParams): JsonSchema[_]
- Annotations
- @SuppressWarnings()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()