Uses of Class
org.openqa.selenium.json.JsonOutput
Packages that use JsonOutput
-
Uses of JsonOutput in org.openqa.selenium.json
Methods in org.openqa.selenium.json that return JsonOutputModifier and TypeMethodDescriptionJsonOutput.beginArray()
Begin a new JSON array.JsonOutput.beginObject()
Begin a new JSON object.JsonOutput.endArray()
End the current JSON array.JsonOutput.endObject()
End the current JSON object.Set the name of a new JSON object property.Json.newOutput
(Appendable to) Create a newJsonOutput
object to produce a serialized JSON string in the specifiedAppendable
.JsonOutput.setPrettyPrint
(boolean enablePrettyPrinting) Specify whether the serialized JSON object should br formatted with line breaks and indention ("pretty printed").Serialize the specified Java object as a JSON value.
NOTE: This method limits traversal of nested objects to the defaultmaximum depth
.Serialize the specified Java object as a JSON value.JsonOutput.writeClassName
(boolean writeClassName) Specify whether the serialized JSON object should include a "class" property whose value is the fully-qualified class name of the Java object being serialized.