@ SuppressWarnings ( "unchecked" ) public < T > T readBean ( Class < T > type ) throws IOException { ValueReader vr = _readerLocator . findReader ( type ) ; return ( T ) vr . read ( this , _parser ) ; }
Method for reading a JSON Object from input and building a Bean of specified type out of it ; Bean has to conform to standard Java Bean specification by having setters for passing JSON Object properties .