Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-19220

problem with json serialization of collection/array properties annotated with @JSON

    Details

    • Branch Version/s:
      6.0.x
    • Backported to Branch:
      Committed

      Description

      By default, loose serialization serializes all non-collection properties of a bean. To include some collection-like property, we need to either specifiy it manually in the code at place of serialization, or to annotate property with @JSON annotation (just property, no need to annotate the whole class).

      Putting @JSON annotation does not work i.e. it works only in strict mode We need to make it work in non-strict mode, too.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              igor.spasic Igor Spasic (Inactive)
              Reporter:
              igor.spasic Igor Spasic (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 13 weeks ago

                  Packages

                  Version Package
                  6.0.12 EE
                  6.1.0 CE RC1