AnsweredAssumed Answered

JSONSetElement

Question asked by filemaker@i-absolute.com on May 25, 2017
Latest reply on May 26, 2017 by beverly

Hi all,

I have a problem configuring this JSON:

 

JSONSetElement ( "{}";

     ["path"; DropboxFile::path & "/" & DropboxFile::fileName; JSONString];

     ["mode"; JSONSetElement ( "{}";

          [".tag"; "overwrite"; JSONString]

     ); JSONObject];

     ["autorename"; True; JSONBoolean];

     ["mute"; True; JSONBoolean]

)

 

As required from Dropbox API, the tag key should be ".tag" but when I put the dot "." near "tag" this disappear in the output.

 

This is the output:

 

{"autorename":true,"mode":{"tag":"overwrite"},"mute":true,"path":"/Test/link.txt"}

 

There is a workaround or this is a bug?

 

Cheers,
Fabio

Outcomes