File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/jvmMain/kotlin/spp/protocol/marshall Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ import spp.protocol.view.LiveViewSubscription
4545
4646/* *
4747 * Used for marshalling and unmarshalling protocol messages.
48+ * Avoids using annotations and Jackson modules to keep probe-jvm dependencies simple.
4849 *
4950 * @since 0.2.1
5051 * @author [Brandon Fergerson](mailto:bfergerson@apache.org)
@@ -322,7 +323,7 @@ object ProtocolMarshaller {
322323 @JvmStatic
323324 fun deserializeLogResult (value : JsonObject ): LogResult {
324325 return LogResult (
325- deserializeArtifactQualifiedName( value.getJsonObject(" artifactQualifiedName" )) ,
326+ value.getJsonObject(" artifactQualifiedName" )?. let { deserializeArtifactQualifiedName(it) } ,
326327 LogOrderType .valueOf(value.getString(" orderType" )),
327328 value.let {
328329 if (it.getValue(" timestamp" ) is Number ) {
You can’t perform that action at this time.
0 commit comments