Crate parquet_variant_json

Source
Expand description

Conversion between JSON and the Variant Binary Encoding from Apache Parquet.

ยง๐Ÿšง Work In Progress

This crate is under active development and is not yet ready for production use. If you are interested in helping, you can find more information on the GitHub Variant issue

Modulesยง

from_json ๐Ÿ”’
Module for parsing JSON strings as Variant
to_json ๐Ÿ”’
Module for converting Variant data to JSON format

Functionsยง

json_to_variant
Converts a JSON string to Variant using [VariantBuilder]. The resulting value and metadata buffers can be extracted using builder.finish()
variant_to_json
This function writes JSON directly to any type that implements Write, making it efficient for streaming or when you want to control the output destination.
variant_to_json_string
Convert [Variant] to JSON String
variant_to_json_value
Convert [Variant] to serde_json::Value