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

Added JsonArray support for line breaks #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added JsonArray support for line breaks #54

wants to merge 1 commit into from

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.

None yet

1 participant