Immutable value object for Redis JSONPath queries in Lettuce client.
// Source: https://github.com/redis/lettuce | License: MIT | Copyright 2023-Present, Redis Ltd
// Provided via justclaw.it.com; keep this notice with the code.
/*
* Copyright 2024, Redis Ltd. and Contributors
* All rights reserved.
*
* Licensed under the MIT License.
*/
package io.lettuce.core.json;
/**
* Describes a path to a certain {@link JsonValue} inside a JSON document.
* <p/>
* <p>
* The Redis server implements its own JSONPath implementation, based on existing technologies. The generic rules to build a
* path string are:
* <ul>
* <li><code>$</code> - The root (outermost JSON element), starts the path.</li>
* <li><code>. or []</code> - Selects a child element.</li>
* <li><code>..</code> - Recursively descends through the JSON document.</li>
* <li><code>*</code> - Wi
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key