Class Json
java.lang.Object
io.quarkus.vertx.http.runtime.devmode.Json
A simple JSON string generator.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
JSON array builder.(package private) static class
static class
JSON object builder. -
Method Summary
Modifier and TypeMethodDescription(package private) static void
appendStringValue
(StringBuilder builder, String value) (package private) static void
appendValue
(StringBuilder builder, Object value) static Json.JsonArrayBuilder
array()
static Json.JsonArrayBuilder
array
(boolean ignoreEmptyBuilders) (package private) static String
Escape quotation mark, reverse solidus and control characters (U+0000 through U+001F).static Json.JsonObjectBuilder
object()
static Json.JsonObjectBuilder
object
(boolean ignoreEmptyBuilders)
-
Method Details
-
array
- Returns:
- the new JSON array builder, empty builders are not ignored
-
array
- Parameters:
ignoreEmptyBuilders
-- Returns:
- the new JSON array builder
- See Also:
-
object
- Returns:
- the new JSON object builder, empty builders are not ignored
-
object
- Parameters:
ignoreEmptyBuilders
-- Returns:
- the new JSON object builder
- See Also:
-
appendValue
-
appendStringValue
-
escape
Escape quotation mark, reverse solidus and control characters (U+0000 through U+001F).- Parameters:
value
-- Returns:
- escaped value
- See Also:
-