commit
1077030625
|
@ -4,9 +4,10 @@
|
|||
* None.
|
||||
|
||||
### Enchancements
|
||||
* None
|
||||
* Reenable Realm for RN Android (#1506)
|
||||
|
||||
### Bug fixes
|
||||
* Fix json parsing in RN debugger.
|
||||
* Reenable Realm for RN Android (#1506), which was disabled only in 2.0.8 by mistake.
|
||||
|
||||
### Internal
|
||||
|
|
|
@ -600,13 +600,13 @@ json RPCServer::serialize_json_value(JSValueRef js_value) {
|
|||
}
|
||||
|
||||
JSValueRef RPCServer::deserialize_json_value(const json dict) {
|
||||
json oid = dict["id"];
|
||||
json oid = dict.value("id", json());
|
||||
if (oid.is_number()) {
|
||||
return m_objects[oid.get<RPCObjectID>()];
|
||||
}
|
||||
|
||||
json value = dict["value"];
|
||||
json type = dict["type"];
|
||||
json value = dict.value("value", json());
|
||||
json type = dict.value("type", json());
|
||||
|
||||
if (type.is_string()) {
|
||||
std::string type_string = type.get<std::string>();
|
||||
|
|
Loading…
Reference in New Issue