JSON.MakeArrayObject ( ValueList ; Separator )
Simple function that wraps a list of values in an array object.
Be the first to rate this function Log in to vote
Jonni™ - Show more from this author |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Simple function that wraps a list of values in an array object to be used within an array object in a JSON notation.
JSONSetElement ( "{}" ; "myArray" ; JSON.MakeArrayObject ( List ( 1;2;3;4;5 ) ; "¶" ) ; JSONArray )
or
JSONSetElement ( "{}" ; "myArray" ; JSON.MakeArrayObject ( List ( "a";"b";"c";"d";"e" ) ; "¶" ) ; JSONArray )
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.