Use JSON encoding for RHDG caches

Solution Verified - Updated -

Issue

  • How to use a JSON key for Infinispan caches
  • If a cache is configured with encoding application/json a REST request will fail with ISPN000655: Unable to convert text content to JSON: 'test', what is the reason as it worked util RHDG 8.3?
  • What is a valid JSON Key for RHDG?
  • How to add an entry with a value by a curl command to a RHDG cache?

Environment

  • Red Hat Data Grid (RHDG)
    • 8.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content