Crate valq[][src]

Expand description

valq

valq provides a macro for querying and extracting value from structured data in very concise manner, like the JavaScript syntax.

look & feel:

use serde_json::Value;
use valq::query_value;

let j: Value = ...;
let deep_val: Option<&Value> = query_value!(j.path.to.value.at.deep);

For now, there is only single macro exported: query_value. See document of query_value for detailed usage.

Macros

A macro for querying inner value of structured data.