https://github.com/hectorip/inquiry
Elixir Library to extract a specific value from a nested data structure in a query-like style.
https://github.com/hectorip/inquiry
data-structures elixir elixir-library extract json querying-iterables
Last synced: about 1 year ago
JSON representation
Elixir Library to extract a specific value from a nested data structure in a query-like style.
- Host: GitHub
- URL: https://github.com/hectorip/inquiry
- Owner: hectorip
- License: mit
- Created: 2018-05-13T04:25:23.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-08-07T05:56:54.000Z (over 2 years ago)
- Last Synced: 2025-02-24T08:11:22.489Z (about 1 year ago)
- Topics: data-structures, elixir, elixir-library, extract, json, querying-iterables
- Language: Elixir
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Inquiry
Elixir library to extract a specific value from a nested data structure in a query-like style.
This intended to help you extract a specicif value without having to write a lot of boilerplate code, like pattern matching, case statements, etc.
## Examples
```elixir
iex> Inquiry.inquiry([1, 2, 3], "0")