How can I get SearchResponse from json


(sywin) #1

hi, I have got json (SearchResponse.toString()) from another server.

I need transfrom the json to SearchResponse.

I use SearchResponse.readSearchResponse(StreamInput in), but it throw java.io.EOFException.

so, How can I do ? anyone can help me ?


(system) #2