You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our project uses single character flags in one class. When we GET an instance, the char property value is [class='system.lang.Character'], I was simply expecting to get a single character string (e.g. 'C' or 'D').
CODE
class Product {
char TypeFlag
}
WORKAROUND
I created the following Marshaller.
JSON.registerObjectMarshaller(Character, { it as String});
(BTW, We really, really appreciate your project. It so easy to used and it has saved us so much time. Kudos you and your fellow project contributors.)
The text was updated successfully, but these errors were encountered:
SYMPTOMS
Our project uses single character flags in one class. When we GET an instance, the char property value is [class='system.lang.Character'], I was simply expecting to get a single character string (e.g. 'C' or 'D').
CODE
class Product {
char TypeFlag
}
WORKAROUND
I created the following Marshaller.
JSON.registerObjectMarshaller(Character, { it as String});
(BTW, We really, really appreciate your project. It so easy to used and it has saved us so much time. Kudos you and your fellow project contributors.)
The text was updated successfully, but these errors were encountered: