Enhancements to JSON Functions in FileMaker 2024 (v21.0)
FileMaker 2024 (v21.0) introduces significant enhancements to JSON functions, making it easier than ever to work with JSON data within your applications. These updates focus on improving the syntax and functionality of the JSONSetElement and JSONGetElement functions, streamlining the process of manipulating JSON arrays and objects. Easier Appending with [+] One of the standout improvements is the ability to append elements to an array using the JSONSetElement function. Previously, adding new elements to an array required specifying the exact position, which could be cumbersome, especially when dealing with dynamic data structures. Now, you can use the [+] syntax in the keyOrIndexOrPath parameter to automatically append elements to the end of the current array. For example, to add two new elements to the end of an existing array in the variable $$movies_array, you can write: JSONSetElement ($$movies_array ; [ "[+]" ; "Federer: Twelve Final Days" ; JSONString ] ;...