Package com.cedarsoft.serialization.jackson.filter

Examples of com.cedarsoft.serialization.jackson.filter.Filter


  @Nonnull
  @Override
  protected JsonParser createJsonParser( @Nonnull JsonFactory jsonFactory, @Nonnull InputStream in ) throws IOException {
    JsonParser parser = super.createJsonParser( jsonFactory, in );
    return new FilteringJsonParser( parser, new Filter() {
      @Override
      public boolean shallFilterOut( @Nonnull JsonParser parser ) throws IOException, JsonParseException {
        @Nullable String currentName = parser.getCurrentName();
        return currentName.startsWith( "_" );
      }
View Full Code Here

TOP

Related Classes of com.cedarsoft.serialization.jackson.filter.Filter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.