Skip to content
This repository was archived by the owner on Mar 15, 2023. It is now read-only.

Conversation

@jayoevans
Copy link

  • This was achieved by splitting the translated text to be saved on a line break (\n), and building a JsonArray from the String[] contents.
  • When retrieving the JSON, a check for JsonArray is used to join the array contents into a \n delimited String to prevent unintentional behaviour throughout the rest of the program.

Note I'm unsure if JsonArray support has been discussed, and potentially rejected; however, for my own personal needs, this was a necessary change. I thought I'd submit a pull request in-case it is also requested by others... (and to get a Hacktoberfest PR)

Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant