I have a bean property "className", which is stripped from the json results for my object. I think the same would happen to "classSize", "declassified", or any property name with the string "class" contained within it.
I traced this to JsonViewWalkerInterceptor.visitElement, which has the following code:
I have a bean property "className", which is stripped from the json results for my object. I think the same would happen to "classSize", "declassified", or any property name with the string "class" contained within it.
I traced this to JsonViewWalkerInterceptor.visitElement, which has the following code:
Is it necessary for Spring-Json to strip such properties?
Thanks,
Mike
Hi Mike
No, it is not necessary. We make this feature available by configuration in on e of the next releases.