How is your experience with the OutSystems Community?
jsonquerydemo
Reactive icon

JSONQueryDemo

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 24 February 2025
 by 
5.0
 (1 rating)
jsonquerydemo

JSONQueryDemo

Documentation
1.0.0

A simple server action to filter json based on json path IETF specification: RFC 9535.

Expressions support the following operations:

  • Arithmetic

+

-

*

/

  • Comparison

==

!=

<

<=

>

>=

  • Boolean logic

&&

||



Path Expressions Sample


$ - Root Node
$.books - Parent Node
$.books[?@.price==23] = return list of matching price 
$.books[?@.category=='memoir',?@.price > 23] = more than 1 condition
$.books[?(@.category=='memoir' && @.price > 20)] = and (&&) operator
$.books[?(@.category=='memoir' || @.price > 20)] = or (||) operator