String to Json turning ' to unicode

when i turn the string:
"You have set your @pokemon's nature to @nature."

to a json file using Gson i get:
"nature": "You have set your @pokemon\u0027s nature to @nature.",


and u can see that the ' turned into \u0027s its working well, and loading from json to string as expected but i want it to stay as ' and not change

my code:

  Gson gson = Utils.newGson();
  String data = gson.toJson(this);
  CompletableFuture<Boolean> futureWrite = Utils.writeFileAsync(PokeTrainer.POKE_TRAINER_PATH, "feedbacks.json", data);



      public static Gson newGson() {
        return new GsonBuilder().setPrettyPrinting().create();
    }
Was this page helpful?