| 122 | } |
| 123 | |
| 124 | Valdi::Result<JavaValue> AndroidValueMarshallerRegistry::unmarshallObject(const Valdi::StringBox& className, |
| 125 | const Valdi::Value& value) { |
| 126 | auto classDelegate = getLoadedClassDelegateForClassName(className); |
| 127 | if (!classDelegate) { |
| 128 | return classDelegate.moveError(); |
| 129 | } |
| 130 | |
| 131 | Valdi::SimpleExceptionTracker exceptionTracker; |
| 132 | auto result = |
| 133 | classDelegate.value()->getValueMarshaller()->unmarshall(value, Valdi::ReferenceInfoBuilder(), exceptionTracker); |
| 134 | |
| 135 | return exceptionTracker.toResult(std::move(result)); |
| 136 | } |
| 137 | |
| 138 | Valdi::Result<Valdi::Void> AndroidValueMarshallerRegistry::setActiveSchemaInMarshaller( |
| 139 | const Valdi::StringBox& className, Valdi::Marshaller& marshaller) { |
no test coverage detected