JSONQuery
A powerful FileMaker custom function for querying, aggregating, and transforming JSON data.
Overview
JSONQuery is a FileMaker custom function authored by Steve Senft-Herrera that enables you to query JSON data in FileMaker 18 or later1.
Basic Capabilities
- Query - Find elements matching specific values with various operators
- Aggregate - Return aggregates (SUM, AVG, LIST, etc.) from matched elements
- Transform - Customize output format with selective attribute inclusion
Examples
This example will find all elements in the JSON string that have a DetailType of SalesItemLineDetail and return a list of their IDs.
Resources
- Official GitHub Repository
- FileMakerHacks Blog Post on JSONQuery 2.02
- Demo file available with comprehensive examples
References
Footnotes
-
Senft-Herrera, S. (2024). FMP_JSONQuery. GitHub. https://github.com/steve-ssh/FMP_JSONQuery ↩
-
Frank, K. (2024, September 16). JSONQuery 2.0 is Here. FileMakerHacks. https://filemakerhacks.com/2024/09/16/jsonquery-2-0-is-here/ ↩