Expand description
Conversion between JSON and the Variant Binary Encoding from Apache Parquet.
- See
json_to_variant
for converting a JSON string to a Variant. - See
variant_to_json
for converting a Variant to a JSON string.
ยง๐ง 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 resultingvalue
andmetadata
buffers can be extracted usingbuilder.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 JSONString
- variant_
to_ json_ value - Convert [
Variant
] toserde_json::Value