![]() You simply pass in it an array and an expression (in quotes), and this custom function returns those elements in the array that satisfy the expression. Here’s the syntax: JSON.FilterByExpression( array expression) Its purpose is to return the elements of an array that satisfies an expression. ![]() You can follow along with this download here. In this post, we’ll take a look at a FileMaker filtering JSON function: JSON.FilterByExpression. Our custom functions actually manipulate the JSON in some way, doing just a bit more than the native functions. ![]() We at Geist Interactive have combined these with other FileMaker functions to produce some custom functions (in JSONAdditions.fmp12) that are useful in many circumstances. Since JSON’s purpose is to exchange data, it seems these functions are good enough. ![]() We can even format a JSON object using JSONFormatElements. JSONSetElement, JSONGetElmeent, JSONDeleteElement, JSONListValues, JSONListKeys are powerful functions that let us collect data into an object, to parse data from an object, or to edit the object itself. The FileMaker JSON functions we have in FileMaker 16 have changed the development game for many folks. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |