-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON serialization to lowercase names? #42
Comments
The provided Said that, this default implementation is currently a conversion using GSON default naming strategy as you can see here: prowide-iso20022/iso20022-core/src/main/java/com/prowidesoftware/swift/model/mx/AbstractMX.java Line 575 in 1c93ab4
For your use case, you could add a similar method within your application and set to the Gson builder another strategy, such as:
that I understand would produce what you expect. |
Is there a way to coerce these to use uppercase names?
For example, at the top level of a setr.010.001.04 message, instead of getting something like
{ "SbcptOrdr": {...
we get this:
{ "sbcptOrdr": {...
and so on for every key in the JSON output when calling .toJson().
The text was updated successfully, but these errors were encountered: