Brian Dunning's FileMaker Custom Functions

JSON_array ( v )

Build a JSON key/value element

  Average rating: 4.5 (32 votes) Log in to vote

Gjermund Gusland Thorsen   Gjermund Gusland Thorsen
Gudthlandum Consulting
http://www.gudthlandum.no

Share on Facebook Share on Twitter

  Sample input:
JSON_entity( "fruits"; JSON_array( JSON_entity( "0"; "apple" ) & "," & JSON_entity( "1"; "banana" ) ) )
  Sample output:
{"fruits":"[{"0":"apple"},{"1":"banana"}]"}

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

Build a JSON key/value element, for portal/array-type data.

 

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.