Example usage for com.mongodb.util JSONCallback subclass-usage

List of usage examples for com.mongodb.util JSONCallback subclass-usage

Introduction

In this page you can find the example usage for com.mongodb.util JSONCallback subclass-usage.

Usage

From source file org.jmingo.mapping.marshall.mongo.callback.EscapeEmptyCallback.java

public class EscapeEmptyCallback extends JSONCallback {

    @Override
    public void gotString(String name, String v) {
        // exclude fields with empty parameters
        if (StringUtils.isNotEmpty(v)) {