I have a String formatted as a JSON (with pretty print) that I would like to create a new JSON file.
How can this be done with the Google GSON library?
It seems that JsonWriter needs to be used, but I am having trouble finding how to actually write to a new file.