Bug Report
The initial design of the JSON.GET envisioned it could return a list of JsonElements if several JsonPath arguments are provided, but this was a misinterpretation of the documentation. Instead JSON.GET would always return a single JSON document, for the case where multiple paths are provided this document would contain a map of JsonPath elements as ids and the respective JsonArray with the result as values.
Current Behavior
JSON.GET currently returns List<JsonElement>
Expected behavior/code
JSON.GET should instead always return a single JsonElement
Environment
- Lettuce version(s): 6.8.0.RELEASE to latest
- Redis version: any
Possible Solution
Provide a new API and deprecate the old one
Additional context
N/A
Bug Report
The initial design of the JSON.GET envisioned it could return a list of
JsonElements if severalJsonPatharguments are provided, but this was a misinterpretation of the documentation. Instead JSON.GET would always return a single JSON document, for the case where multiple paths are provided this document would contain a map of JsonPath elements as ids and the respectiveJsonArraywith the result as values.Current Behavior
JSON.GET currently returns
List<JsonElement>Expected behavior/code
JSON.GET should instead always return a single
JsonElementEnvironment
Possible Solution
Provide a new API and deprecate the old one
Additional context
N/A