leiysky / jsonb

JSONB implement in rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jsonb   Build Status Latest Version Crate Downloads

jsonb is a jsonb implementation written in Rust. It provides a fast, lightweight, and easy-to-use API for working with jsonb data.

Features

  • Fast performance: jsonb is designed to be highly performant, allowing you to work with large jsonb data sets with ease.
  • Easy to use API: jsonb provides a simple and intuitive API for working with jsonb data, making it easy to get started.
  • Safe and secure: jsonb is written in Rust, which provides memory safety and thread safety guarantees, making it a safe choice for handling sensitive data.
  • Flexible: jsonb supports a wide range of data types and can be used to store complex data structures.

JSONB value struct

// JSONB value
#[derive(Clone, PartialEq, Eq)]
pub enum Value<'a> {
    Null,
    Bool(bool),
    String(Cow<'a, str>),
    Number(Number),
    Array(Vec<Value<'a>>),
    Object(Object<'a>),
}

About

JSONB implement in rust

License:Apache License 2.0


Languages

Language:Rust 100.0%