


There are currently ~180 test to verify these functions work as expected. I've wanted to work in it for a while now, but with out the sponsorship, I'm not sure when I would have gotten around to it. I'd like to thank geist interactive for sponsoring this project. There are examples of using similar functions here: Refer to the Test Expression field in FileMaker-JSON-Functions.fmp12 for example code. NOTE: jsonA and jsonO are included in that file, but not in this project because they are an exact copy of the functions with the same name from geistinteractive/JSONCustomFunctions. That method also relies on evaluating text as code, which introduces a security issue that may be unacceptable in certain circumstances.Ĭopy all functions from FileMaker-JSON-Functions.fmp12, except LogWriterMemor圜reateEntry, then paste them into your own file. While this method worked, it introduced the overhead of an intermediary format that may not be desirable if your intention is to create JSON to send to a web service, or parse the response from a web service. My previous FileMaker-JSON project was script based and used Let Notation as an intermediary format. The cache also allows for reading from JSON that is too large to be read in a single pass (due to FileMaker's max of 50,000 recursive calls). When reading JSON, utilizes cache in $local variables to improve the speed of reading more than one value. A set of recursive FileMaker custom functions that can create and read JSON.
