-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Since this projects has asked for no pull requests, I've taken the fmp12 from my fork, and am attaching it to this "Issue". My fork is at: https://github.com/DanShockley/fm-json-additions
One potentially useful thing is that the database now uses the Save As XML, along with the BaseElements plugin, to create the .fmfn files in the functions directory. So, the attached file might make pull requests more useful in the future, since the FileMaker file can at least update all the .fmfn files itself.
Note that I believe this copy addresses the following issues:
- Issue Enhancement - JSON.ArraySlice #17 - added function JSON.ArraySlice, by steveAllen0112
- Issue JSON.ArrayLength is incorrect with empty string as value #18 - fixed JSON.ArrayLength to use JSONListKeys, as suggested by rwu2359
- Issue JSON.Merge fails if the first character in a value is a quote mark #19 - merge bug with 1st char is quote - included the fix by davegraham92120
- Issue Support for deep merge #20 - deep merge - included the fix by davegraham92120
- Issue JSON.ArrayFromRelated with text values? #23 - added function JSON.ArrayFromRelatedText, by flybynight27
- Issue JSON.Merge transforms UUIDnumbers to scientific notation #24 - added fix to UUIDNumber issue by checking length or using JSONGetElementType if FM version is >19.5.1, suggested by salgoya
- Issue Add support for shallow diff #27 - added JSON.Diff (shallow), by davegraham92120. Added fix for large-numbers-as-text
- Issue JSON.ArrayLength fails if 1st item is a string that begins with a question mark #28 - fixed by changing JSON.ArrayLength to use JSONListKeys (same as fix for JSON.ArrayLength is incorrect with empty string as value #18)
- Issue JSON.IsValid can be faked out to return False for valid JSON #29 - fixed by changing JSON.IsValid to use Claris-recommended validity test.
Additional Changes:
- Added FileMaker script "Export functions" to update/create .fmfn files to match the CURRENT custom functions in the fmp12 file by doing Save Copy as XML (requires BaseElements plugin).
- Updated all the .fmfn files.
- renamed table to "RelatedData" instead of "RleatedData"
- Updated all the test names to be consistent with the function's current name
- Updated all the test names to include a bit more description of what they test
- In fmp12 file, widened field showing the test name
- In fmp12 file, removed the passfail field from tab order
Attached file:
JSONAdditions-2023-04-21-1906.fmp12.zip
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels