Class JsonWriterAdapter
- java.lang.Object
-
- jetbrains.buildServer.web.statistics.graph.JsonWriterAdapter
-
public class JsonWriterAdapter extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJsonWriterAdapter.WriterTask
-
Constructor Summary
Constructors Constructor Description JsonWriterAdapter(com.google.gson.stream.JsonWriter jsonWriter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidarray(String name, JsonWriterAdapter.WriterTask task)voidarray(JsonWriterAdapter.WriterTask task)com.google.gson.stream.JsonWritergetJsonWriter()voidobject(String name, JsonWriterAdapter.WriterTask task)voidobject(JsonWriterAdapter.WriterTask task)JsonWriterAdaptervalue(Number value)JsonWriterAdaptervalue(String value)JsonWriterAdaptervalue(String name, boolean value)JsonWriterAdaptervalue(String name, Number value)JsonWriterAdaptervalue(String name, String value)
-
-
-
Method Detail
-
object
public void object(@NotNull String name, @NotNull JsonWriterAdapter.WriterTask task) throws IOException- Throws:
IOException
-
object
public void object(@NotNull JsonWriterAdapter.WriterTask task) throws IOException- Throws:
IOException
-
array
public void array(@NotNull String name, @NotNull JsonWriterAdapter.WriterTask task) throws IOException- Throws:
IOException
-
array
public void array(@NotNull JsonWriterAdapter.WriterTask task) throws IOException- Throws:
IOException
-
value
public JsonWriterAdapter value(@Nullable Number value) throws IOException
- Throws:
IOException
-
value
public JsonWriterAdapter value(@Nullable String value) throws IOException
- Throws:
IOException
-
value
public JsonWriterAdapter value(@NotNull String name, @Nullable Number value) throws IOException
- Throws:
IOException
-
value
public JsonWriterAdapter value(@NotNull String name, @Nullable String value) throws IOException
- Throws:
IOException
-
value
public JsonWriterAdapter value(@NotNull String name, boolean value) throws IOException
- Throws:
IOException
-
getJsonWriter
@NotNull public com.google.gson.stream.JsonWriter getJsonWriter()
-
-