I need to output a json file that is translated by WorldServer, but no one seems to know how I should format the json. It's currently in XML.
example:
<text>
<line>text from line 1</line>
<line>text from line 2</line>
</text>
How would I format that in JSON?
I tried it as an array..
{ "text": ['text from line1', 'text from line2'] }
But they said that doesn't work.
I can't find documentation for this... Can anyone help?