I have a string like
> var temp =
> "meta(alias:!n,apply:!t,disabled:!f,index:'index_*',key:stockInfo.raw,negate:!f,value:green),"
For information, this string is generated automatically by kibana (I recover it through the url).
My question is : There is any solutions to extract keys and values from this string and get a result in a array or an object like this :
> var result = {
> "alias" : "!n",
> "apply" : "!t",
> "disabled" : "!f",
> "key": "stockInfo.raw",
> "negate": "!f",
> "value": "green",
> }
Thanks