You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type Date (String)
fun date(string|numeric, format) Date
fun now() Date
# usage:
$..[?(date(@.timestamp) > now())]
$..[?(date(@.timestamp) + date("1 hour", "%H hour") < now())]
Draft for the
Version v1.0.0milestoneajson/jsonpathwith the main types and functions:Tokentypesjmath;internalpackage;threadsafepart, as it is unused.Node, such asStringNode,ArrayNode, etc.IterableNodeinterface forArrayNodeandObjectNode[]*Nodeadd aliastype Nodes []NodeDate(discussed)additional jsonb operatorsfrom https://www.postgresql.org/docs/9.5/functions-json.htmlFuntiontype to:not=>!@.lengthmathfunctions:in=>value in [array]max(array|object),min(array|object),avg(array|object).Bufferinterface, which could be based on (1)[]byteand (2)io.Readableinterface;!()outside of the filter section;-m/-multiline.Example: JSON logs in Docker.
-f/-stream. It will do the output as soon as the value was found.-pretty-reverse/-rlockfunction and lock nodes on modifications.Optionto create a*Nodeif it was not found during theJSONPathexecution.Example:
jsonvalue{}the result output for therootwill be{"foo":{"bar":null}}