Selva Posted February 11, 2021 Posted February 11, 2021 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.
comment Posted February 11, 2021 Posted February 11, 2021 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now