JSON.SortArray_v2 ( $jsonConfig )
Sorts a JSONArray using a JSONArray
Be the first to rate this function Log in to vote
Kyle Williams - Show more from this author
Augusto Digital https://www.youtube.com/channel/UCpJlB7cmVNMjbjgY96MEsng |
JSONSetElement ( ""
; [ "JSON" ; $$jsonFoundSet ; JSONArray ]
; [ "Sorts[0].SortKey" ; "Totals" ; JSONString ]
; [ "Sorts[0].IsNumeric" ; 1 ; JSONBoolean]
; [ "Sorts[0].SortOrder" ; "Dsc" ; JSONString ]
; [ "Sorts[1].SortKey" ; "hrsScheduled" ; JSONString ]
; [ "Sorts[1].IsNumeric" ; 1 ; JSONBoolean]
; [ "Sorts[1].SortOrder" ; "Asc" ; JSONString ]
)
))
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Sorts a JSONArray using a JSONArray
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.