12 Replies Latest reply on May 26, 2017 6:33 AM by beverly

    JSONSetElement

    filemaker@i-absolute.com

      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