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

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

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 9.4.0.Beta1
    • Fix Version/s: 9.4.0.CR1
    • Component/s: Tasks
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  gustavonalle Gustavo Fernandes
                  Reporter:
                  gustavonalle Gustavo Fernandes
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: