Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.1.0.M3
    • Component/s: GENERAL OBJECTS, WEB MVC
    • Labels:
      None

      Description

      This addon should provide the following methods to a type marked with either @RooJson, @RooJavaBean or @RooIdentifier:

      public String toJson() {..]
      
      public static MyType fromJson(String json) {..}
          
      public static String toJsonArray(Collection<MyType> collection) {..}
          
      public static Collection<MyType> fromJsonArray(String json) {..}
      

      The method names can be adjusted by using the attributes provided in @RooJson. To omit the generation of any of those methods simply provide it with an empty String:

      @RooJson(toJson="")
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sschmidt Stefan Schmidt
                Reporter:
                sschmidt Stefan Schmidt
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: