From f1d5b179ce238261f69b1d42cbee08145dbd927d Mon Sep 17 00:00:00 2001 From: kimchy Date: Fri, 5 Mar 2010 13:02:36 +0200 Subject: [PATCH] doc --- .../main/java/org/elasticsearch/util/json/JsonBuilder.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/util/json/JsonBuilder.java b/modules/elasticsearch/src/main/java/org/elasticsearch/util/json/JsonBuilder.java index cf6245a180e..6720e977651 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/util/json/JsonBuilder.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/util/json/JsonBuilder.java @@ -49,6 +49,10 @@ public abstract class JsonBuilder { return StringJsonBuilder.Cached.cached(); } + public static BinaryJsonBuilder jsonBuilder() throws IOException { + return BinaryJsonBuilder.Cached.cached(); + } + public static BinaryJsonBuilder binaryJsonBuilder() throws IOException { return BinaryJsonBuilder.Cached.cached(); }