datafuselabs / jsonb Goto Github PK
View Code? Open in Web Editor NEWJSONB implement in rust
License: Apache License 2.0
JSONB implement in rust
License: Apache License 2.0
Hi there, enabling the use of jsonb-rs in stable Rust would certainly make it more accessible and easier to adopt for users. Have you considered providing a stable-compatible version? This could greatly benefit the wider Rust community.
JSON path
has already implemented the basic elements accessors and comparison predicates filter expression, in order to support the full JSON Path
language, the following tasks need to be done further.
lax
strict
type()
size()
double()
ceiling()
floor()
abs()
datetime()
keyvalue()
+
or -
+
, -
, *
, /
, %
exists
path predicatelike_regex
predicatestarts with
predicateis unknown
predicateThe syntax and functionality of JSON Path
should be implemented in accordance with the SQL:2016 (ISO/IEC 9075:2016)
standard. Here are some references:
Adding support for functions like PostgreSQL eg:
jsonb_path_query_first('{"a":[1,2,3,4,5]}', '$.a[*] ? (@ >= $min && @ <= $max)', '{"min":2, "max":4}') → 2
Using library like https://github.com/besok/jsonpath-rust should be able to expose more JSON path functionalities.
Also some performance numbers about jsonb vs json.
Is it possible to use this as web assembly? We could then use jsonb all the way in UI layer also.
# databend maintains
jsonb = { git = "https://github.com/datafuselabs/jsonb", rev = "3fe3acd" }
Databend depends on git commits of this crate which is not good.
Add benchmarks for accessing nested fields
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.