February 11, 20214 yr Hi, I have tried to pass the below JSON data to the API. But it doesn't accept the JSON data due to Square brackets[] in the JSON Key. Is there any solution available to pass the below value? JSONSetElement ( "{}" ; "[Name | Last]" ; "Test" ; JSONString ) We need the output like below. { "[Name | Last]": "Test" } Thanks in advance.
February 11, 20214 yr Filemaker's JSON engine has issues with keys that contain square brackets or dots. Try substituting the opening bracket with a special character before creating the JSON, then substitute it back.
Create an account or sign in to comment