Uploaded image for project: 'CRISP'
  1. CRISP
  2. CRISP-29

POJO mapping support for JSON based Resources

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.1
    • Labels:
      None
    • Similar issues:

      Description

      It would be nice if we can convert a Resource object to a POJO object at least for JSON-based resources, based on Jackson annotations.
      For example,

      Resource resource = resourceServiceBroker.resolve(resourceSpace, ...);
      ResourceBeanMapper resourceBeanMapper = resourceServiceBroker.getResourceBeanMapper(resourceSpace);
      Product product = resourceBeanMapper.map(resource, Product.class);
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wko Woonsan Ko
                Reporter:
                ksalic Kenan Salic
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: