Does JSONER include an implementation of JSON Query or XPATH on JSON?
Well, yes and no… JSONER includes basic pattern Visitor, which can be defined by parameters in two ways: • “Acceptor” – method which accepts or rejects processing of particular node; • “Processor”- method performs necessary operations on given JSON node. Visitor can be adapted for solving many tasks related to data search and processing. Visitor is very useful when it is necessary to perform operations on tree-based structures, such as, for example, modification of the tree or finding nodes by specified conditions. Pattern Visitor provides high speed of data access and flexibility when dealing with them. JSONER “lookup functionality” includes method which allow to: • Find first element which corresponds search conditionsl; • Find all elements which correspond search conditions • Find number of elements which correspond search conditions. • Check if there are elements exist which correspond search conditions.