Class JsonDeserializer

java.lang.Object
cz.metacentrum.perun.rpc.deserializer.Deserializer
cz.metacentrum.perun.rpc.deserializer.JsonDeserializer

public class JsonDeserializer extends Deserializer
Deserializer for JSON / JSONP data format.

Reads parameters from body (InputStream) of request which is typically POST. Doesn't read any parameters form URL!

While deserializing objects from JSON some of their properties may be ignored. They are not read from input and also not required to be present in input in order to match JSON object to the right Java object. They are set as NULL in Java object (if present as variable) or ignored at all.

Author:
Jan Klos invalid input: '<'ddd@mail.muni.cz>, Pavel Zlamal invalid input: '<'256627@mail.muni.cz>