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

Add additional serialization methods *_Roo_Json

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Complete
    • 1.2.0.RELEASE, 1.2.1.RELEASE, 1.2.2.RELEASE, 1.2.3.RELEASE
    • 1.2.4.RELEASE
    • 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

            stewarta Alan Stewart
            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