Uploaded image for project: '[Read Only] - CRISP'
  1. [Read Only] - CRISP
  2. CRISP-29

POJO mapping support for JSON based Resources

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.1.0
    • 2.1.1
    • None

    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

              wko Woonsan Ko (Inactive)
              ksalic Kenan Salic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: