Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2204

JSON ignore the file name

$
0
0

I have JSON from another service inside the JSON there is a package name with a class name for this json, how can I ignore it and get just the data that I want

["com.yali.S3File",  {"component": {"id": "content_03"    }  }]

I wanna get just the component response :

{"component": {"id": "content_03"    }  }

I got this error when I tried to parse it as JSON :

org.springframework.data.redis.serializer.serializationexception: could not read json

Viewing all articles
Browse latest Browse all 2204

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>