@Test
public void parserBoolean() throws IOException, JsonFormatException {

	String json = "[true,false,null,true]";
	JsonPullParser parser = JsonPullParser.newParser(json);
	State state = parser.getEventType();
	assertThat(state, is(State.START_ARRAY));
	assertThat(JsonParseUtil.parserBoolean(parser), is(true));
	assertThat(JsonParseUtil.parserBoolean(parser), is(false));
	assertThat(JsonParseUtil.parserBoolean(parser), nullValue());
	assertThat(JsonParseUtil.parserBoolean(parser), is(true));
}