Search the Community

Showing results for tags 'json'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Resilio Sync
    • Sync General Discussion
    • Sync Troubleshooting
    • Sync for NAS (Network Attached Storage)
    • Sync Stories
    • Developers
    • Feature Requests

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 2 results

  1. I am trying the achieve the following: instead of fixing "Advanced Preferences" every here and then when my server does a resilio update and deletes all Advanced Preferences I want the info put into my config.json file which the server executes when starting the service. Took me a while to figure out that you guys use different names inside Advanced Pref and the .json, but after finally getting around each "invalid key" complain and luckily other people here on the forum which happen to have stuff used in the past I managed to come up with this: "folder_defaults.use_relay" : false, "folder_defaults.use_tracker" : false, "folder_defaults.use_lan_broadcast" : false, "folder_defaults.known_hosts" : "mylist of hosts seperated by ," (interestingly enough the program complains about that folders_defaults.know_hosts MUST NOT BE of Array, although the samples for the individual shared folder examples say it must). Anyway, neither of the above line works. Every NEW key I add comes up with the respective settings of true, true, true, empty (which is the normal behavior), so my conclusion would be that either "_defaults" do not do anything, or that I put them in the wrong context without managing the program to complain about it at startup. So my question is, did anyone managed to set this up inside a .json file? Of so, any pointers would be much appreciated. Edit: The initial statement from me is bs, the Adv Params are exactly named as the ones in the config file, only the sample config put me on the wrong track with the shared folder settings "search_lan" which seems to be "use_lan_broadcast" in the Prefs.
  2. Hi! Localized strings are returned with wrong escaping in JSON, e.g.: { "message": "Der ausgew\u00c3\u00a4hlte Ordner wurde bereits zu BitTorrent Sync hinzugef\u00c3\u00bcgt.", "result": 200 } These are escaped UTF-8 bytes, which is wrong. Either don't escape at all, as UTF-8 is default for JSON anyways and if you must escape then see 2.5 in RFC 4627. You should also send a charset=utf-8 along with Content-Type. Regards