Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9442

Scripts with JSON datatype should be able to read data as String by default

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 9.4.0.CR1
    • 9.4.0.Beta1
    • Tasks
    • None

    Description

      ISPN-9182 introduced support for application/json as a script datatype, but the data is presented as byte[].

      When protobuf is the storage, it is possible to read data as JSON from scripts in the String form, by applying the "type" parameters to the MediaType: "application/json; type=java.lang.String", but this is not available for other storages.

      Attachments

        Activity

          People

            gfernand@redhat.com Gustavo Fernandes (Inactive)
            gfernand@redhat.com Gustavo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: