Planned maintenance is scheduled for the week of June 15th - the exact date and time will be announced soon.
See More Details
Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Include custom property in JSON result with Service Builder
Hello,
I'm in the process of migrating a 6.2 project with Service Builder to 7.3. Now in my "old" code I use the "@JSON" annotation for some custom properties in entity Impl classes. When this was set, the property would be returned in the JSON result of my remote service method.
But with Liferay 7.3 and (Maven) Service Builder this no longer works. How should I annotate the custom properties of my entity implementation classes to have them included in the JSON output?
Community
Company
Feedback