Skip to content

Commit

Permalink
add "non-offical" note and examples to the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed May 2, 2024
1 parent e28f02c commit a89ed62
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# datafusion-functions-json

**Note:** This is not an official Apache Software Foundation release, see [datafusion-contrib/datafusion-functions-json#5](https://github.com/datafusion-contrib/datafusion-functions-json/issues/5).

This crate provides a set of functions for querying JSON strings in DataFusion. The functions are implemented as scalar functions that can be used in SQL queries.

To use these functions, you'll just need to call:

```rust
datafusion_functions_json::register_all(&mut ctx)?;
```

To register the below JSON functions in your `SessionContext`.

## Done

* [x] `json_contains(json: str, *keys: str | int) -> bool` - true if a JSON object has a specific key
Expand Down

0 comments on commit a89ed62

Please sign in to comment.