MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / toJson

Method toJson

java/src/org/openqa/selenium/grid/config/Config.java:100–100  ·  view source on GitHub ↗
(Object value)

Source from the content-addressed store, hash-verified

98 }
99
100 default String toJson(Object value) {
101 StringBuilder jsonStr = new StringBuilder();
102 new Json().newOutput(jsonStr).setPrettyPrint(false).write(value);
103 return jsonStr.toString();

Callers 15

getNextAvailableMethod · 0.65
addToQueueMethod · 0.65
writeResultMethod · 0.65
writeNodeBlobMethod · 0.65
setSessionMethod · 0.65
addMethod · 0.65
addMethod · 0.65
getStereotypesMethod · 0.65
getCapabilitiesMethod · 0.65
getStereotypeMethod · 0.65
executeMethod · 0.65
dumpConfigMethod · 0.65

Implementers 8

ConcatenatingConfigjava/src/org/openqa/selenium/grid/conf
MapConfigjava/src/org/openqa/selenium/grid/conf
MemoizedConfigjava/src/org/openqa/selenium/grid/conf
JsonConfigjava/src/org/openqa/selenium/grid/conf
TomlConfigjava/src/org/openqa/selenium/grid/conf
AnnotatedConfigjava/src/org/openqa/selenium/grid/conf
EnvConfigjava/src/org/openqa/selenium/grid/conf
CompoundConfigjava/src/org/openqa/selenium/grid/conf

Calls

no outgoing calls

Tested by

no test coverage detected