Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 1373 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

  •  

Json Error.png

Posted

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.

 

This topic is 1373 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.