I am currently parsing url-queries that result into the known key-value-objects:
Parsed: ?ab=hello&cd=world&ef=123
{
"ab": "hello",
"cd": "world",
"ef": "123"
}
As an additional feature, i suggest to provide a flag, which lets "kv" return an array of objects like:
[
{
"key": "ab",
"value": "hello"
},
{
"key": "cd",
"value": "world"
},
{
"key": "ef",
"value": "123"
},
]
That way it would be possible to write elasticsearch queries for nested types.
I am currently parsing url-queries that result into the known key-value-objects:
Parsed: ?ab=hello&cd=world&ef=123
{ "ab": "hello", "cd": "world", "ef": "123" }As an additional feature, i suggest to provide a flag, which lets "kv" return an array of objects like:
[ { "key": "ab", "value": "hello" }, { "key": "cd", "value": "world" }, { "key": "ef", "value": "123" }, ]That way it would be possible to write elasticsearch queries for nested types.