Replies: 5 comments
-
What do you mean by
? Do you get an error of some kind? |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
And for some reason symbols are used instead of Ukrainian words Example: ╧хЁхърч эр ърЁЄъє |
Beta Was this translation helpful? Give feedback.
-
Hello! |
Beta Was this translation helpful? Give feedback.
-
I fixed the encoding problem, but the above is not |
Beta Was this translation helpful? Give feedback.
-
I don't know why it doesn't work
My example on java
Beta Was this translation helpful? Give feedback.
All reactions