Package | Description |
---|---|
org.sonar.api.server.ws | |
org.sonar.api.utils.text |
Modifier and Type | Method and Description |
---|---|
JsonWriter |
WsTester.TestResponse.newJsonWriter() |
JsonWriter |
Response.newJsonWriter() |
Modifier and Type | Method and Description |
---|---|
JsonWriter |
JsonWriter.beginArray()
Begins encoding a new array.
|
JsonWriter |
JsonWriter.beginObject()
Begins encoding a new object.
|
JsonWriter |
JsonWriter.endArray()
Ends encoding the current array.
|
JsonWriter |
JsonWriter.endObject()
Ends encoding the current object.
|
JsonWriter |
JsonWriter.name(String name)
Encodes the property name.
|
static JsonWriter |
JsonWriter.of(Writer writer) |
JsonWriter |
JsonWriter.prop(String name,
boolean value) |
JsonWriter |
JsonWriter.prop(String name,
double value) |
JsonWriter |
JsonWriter.prop(String name,
long value) |
JsonWriter |
JsonWriter.prop(String name,
Number value)
Encodes the property name and value.
|
JsonWriter |
JsonWriter.prop(String name,
String value) |
JsonWriter |
JsonWriter.propDate(String name,
Date value)
Encodes the property name and date value (ISO format).
|
JsonWriter |
JsonWriter.propDateTime(String name,
Date value)
Encodes the property name and datetime value (ISO format).
|
JsonWriter |
JsonWriter.value(boolean value)
Encodes
value . |
JsonWriter |
JsonWriter.value(double value) |
JsonWriter |
JsonWriter.value(long value) |
JsonWriter |
JsonWriter.value(Number value) |
JsonWriter |
JsonWriter.value(String value) |
JsonWriter |
JsonWriter.valueDate(Date value) |
JsonWriter |
JsonWriter.valueDateTime(Date value) |
Copyright © 2009-2014 SonarSource. All Rights Reserved.