Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ toJson
Method
toJson
java/src/org/openqa/selenium/grid/data/SlotId.java:67–72 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
65
}
66
67
private
Object toJson() {
68
Map<String, Object> toReturn =
new
TreeMap<>();
69
toReturn.put(
"hostId"
, nodeId);
70
toReturn.put(
"id"
, uuid);
71
return
unmodifiableMap(toReturn);
72
}
73
}
Callers
nothing calls this directly
Calls
1
put
Method · 0.65
Tested by
no test coverage detected