Message Boards
Include custom property in JSON result with Service Builder
Pierre Roukens, modified 3 Years ago.
Include custom property in JSON result with Service Builder
New Member Posts: 20 Join Date: 1/19/14 Recent PostsHello,
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?