What is the proper syntax for .json files

Discussion in 'Technical & Support' started by Don Fryman, Jul 22, 2014.

  1. Don Fryman

    Don Fryman Registered

    Joined:
    Nov 3, 2011
    Messages:
    35
    Likes Received:
    7
    I need to change this in the multiplayer.json file but don't seem to be using the right syntax.

    "HTTP Server Document Root":"Packages",
    "HTTP Server Document Root#":"Document root for HTTP server. This path is relative to path stored in data.path. data.path located in root install path",


    Wanting to change "Packages" to "/userdata/player/http" but it keeps changing to "\/userdata\/player\/http", is this correct?
     
  2. Jorgen

    Jorgen Registered

    Joined:
    Oct 5, 2010
    Messages:
    558
    Likes Received:
    3
    The backslash is an escape which should be in front of a slash, so that's correct.

    [​IMG]
    (Source: http://json.org)
     
  3. Don Fryman

    Don Fryman Registered

    Joined:
    Nov 3, 2011
    Messages:
    35
    Likes Received:
    7
    Thanks!!

    But it seems ISI has decided to store transferred skins in a new location so I really didn't need to make that change :(
     

Share This Page