Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/coremltools
/ setObject
Method
setObject
modelpackage/src/utils/JsonMap.cpp:93–95 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
91
}
92
93
void JsonMapImpl::setObject(const std::string& key, std::unique_ptr<JsonMapImpl> value) {
94
m_jsonObject[key] = value->m_jsonObject;
95
}
96
97
void JsonMapImpl::deserialize(std::istream& stream) {
98
if(!stream.good()) {
Callers
8
removeItemInfoEntry
Method · 0.80
createItemInfoEntry
Method · 0.80
testProto2Basics
Method · 0.80
testProto3Basics
Method · 0.80
testSerialization
Method · 0.80
testEvilNames
Method · 0.80
testEvilNames
Method · 0.80
testEvilNames
Method · 0.80
Calls
1
move
Function · 0.85
Tested by
6
testProto2Basics
Method · 0.64
testProto3Basics
Method · 0.64
testSerialization
Method · 0.64
testEvilNames
Method · 0.64
testEvilNames
Method · 0.64
testEvilNames
Method · 0.64