Closed mani1232 closed 1 year ago
What do you mean by
it doesn't work
?
Do you get an error of some kind? How are you (de)serializing?
What do you mean by
it doesn't work
?
Do you get an error of some kind? How are you (de)serializing?
No errors, just empty values
UnmodifiableConfig config = JsonFormat.fancyInstance().createParser().parse(exchange.getRequestBody(), StandardCharsets.UTF_8);
Payment payment = new ObjectConverter().toObject(config, Payment::new);
System.out.println(payment.getType()); // work fine
System.out.println(String.valueOf(payment.getData().getAccount())); // dont work
And for some reason symbols are used instead of Ukrainian words
Example: ╧хЁхърч эр ърЁЄъє
Hello! Do you still happen to have this problem? It looks like the encoding may be wrong somewhere.
Hello! Do you still happen to have this problem? It looks like the encoding may be wrong somewhere.
I fixed the encoding problem, but the above is not
I don't know why it doesn't work
My example on java