json files

Does anyone have experience how to handle best json-format in Studio? Is there a appropriated filter somewhere out here? We got this format in a csv which we had to modify severely in order to get it in Studio. Thanks in advance for your hints!

Martha Ebermann

  • Unknown said:
    1. closing syntax that was missing
    2. file extension that was not JSON

    What "closing syntax" are you refering to exactly? A JavaScript object literal definition must be enclosed in curly braces just like a valid JSON. If the closing curly brace was there, it was all perfectly okay. If it wasn't there, it was invalid syntax for both formats.

    Unknown said:

    The file looks to me as though it's been output for translation with a small error in how the files have been prepared.

    That's exactly what I was pointing out - that people (usually due to lack of knowledge) confuse these two and create crippled files (e.g. JavaScript snippets with .json extension, etc.)... which are then further mistakenly understood by the poor recipients, who keep fixing the consequences instead of directing the sender to fix the CAUSE in the first place.