jsonpath-plus
Reactive icon

JSONPath Plus

Stable version 10.4.0 (Compatible with OutSystems 11)
Uploaded
 on 6 Mar (yesterday)
 by 
0.0
 (0 ratings)
jsonpath-plus

JSONPath Plus

Documentation
10.4.0

Usage

This component exposes a single Client Action that automatically includes the underlying JavaScript library and wraps the call to the main JSONPath resolution function.

Because the output is always returned as serialized JSON (Text data type), the recommended best practice is to pass it through a native JSON Deserialize node configured with a List as the Data Type. This allows you to map the matched results directly into a usable OutSystems list.

Note on Error Handling & Empty Results: The component treats incorrect/invalid JSONPath queries exactly the same as valid searches that simply yield no results. In both scenarios, the action returns a stringified empty array ("[]"). To handle empty states or catch malformed queries in your logic, you can either evaluate the returned text directly against "[]", or simply check if the list produced by your JSON Deserialize node is empty using JSONDeserializeList.Empty.


Advanced Usage

The library's underlying JavaScript file is also exposed as a Public Script. This means you can add it as a Required Script in your own modules' screens or blocks to directly call other advanced functions provided by JSONPath-Plus.

For more details on advanced JS options and syntax, refer to the JSONPath-Plus documentation.