Crate drivel

Crate drivel 

Source

Structs§

EnumInference
InferenceOptions

Enums§

NumberType
SchemaState
The SchemaState enum is a recursive data structure that describes the schema of a given JSON structure.
StringType

Traits§

ToJsonSchema

Functions§

infer_schema
Infer a schema, encoded as a SchemaState struct, from a JSON value. This function will recursively traverse the given JSON structure and return a SchemaState struct.
infer_schema_from_iter
Infer a schema, encoded as a SchemaState struct, from an iterator of JSON values.
produce
Produces a JSON value based on the given schema.