            Event event = parser.next();

                 if (event == JsonParser.Event.KEY_NAME &amp;&amp; parser.getString().equals("boxInnerObject") {
                     // Deserialize inner object
                     box.boxInnerObject = ctx.deserialize(BoxInner.class, jsonParser);

                 } else if (event == JsonParser.Event.KEY_NAME &amp;&amp; parser.getString().equals("name") {
                     // Deserialize name property
                     parser.next(); // move to VALUE
       