Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3384

Add additional serialization methods *_Roo_Json

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.2.0.RELEASE, 1.2.1.RELEASE, 1.2.2.RELEASE, 1.2.3.RELEASE
    • Fix Version/s: 1.2.4.RELEASE
    • Component/s: None

      Description

      Add the following methods to *_Roo_Json to make is possible to add relationships to json serialization.

      public String toJson(String... includeParams)
      {
      return new JSONSerializer().include(includeParams).exclude("*.class").serialize(this);
      }

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            thor1729 Nick Thorson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified