Linq in Asset

I need to place a linq in asset as the condition changes frequently .It is possible to do that ?Below is the linq that i want to have it in asset

DeserializeJsonOutputGetConversationID(“data”) _
.Where(Function(x) x(“attributes”)(“status”).ToString() <> “completed” Or x(“attributes”)(“status”).ToString() <> “queued”) _
.Select(Function(x) x(“relationships”)(“resource”)(“data”)(“id”).Value(Of String)) _
.ToArray()

you cannot bypass the compilation

Maybe using a JSONPath the the selectToken(s) method can help. Here you would store the JSONPath expression as String within the asset

JSONPath - XPath for JSON