Brian Dunning's FileMaker Custom Functions

FMListToJSONArray ( key ; fmList )

Translate a FileMaker list into a proper JSON Array without recursion.

  Average rating: 4.0 (3 votes) Log in to vote

Michael Twisdale   Michael Twisdale

Share on Facebook Share on Twitter

  Sample input:
FMListToJSONArray ( "car" ; "" )
FMListToJSONArray ( "" ; "" )
FMListToJSONArray ( "car" ; "¶Ford¶¶BMW¶" )
  Sample output:
{"car":[""]}
[""]
{"car":["","Ford","","BMW",""]}

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

For more see GitHub - twisdale/FMListToJSONArray: Translate a FileMaker list into a proper JSON Array .

Look at the Readme file.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.