Class JsonBuilderSerializer
java.lang.Object
io.restassured.internal.path.json.JsonBuilderSerializer
Serializes a Map or Collection request body to JSON exactly like Groovy's
JsonBuilder does, so that
modules without a Groovy dependency can produce the same JSON. Internal API.-
Method Summary
-
Method Details
-
toJson
- Parameters:
mapOrCollection- the Map or Collection to serialize- Returns:
- the JSON produced by
new JsonBuilder(mapOrCollection).toString()
-