diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/ledger/utils/telemetry/JsonElementContext.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/ledger/utils/telemetry/JsonElementContext.kt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/ledger/utils/telemetry/JsonElementContext.kt b/src/main/kotlin/moe/nea/ledger/utils/telemetry/JsonElementContext.kt new file mode 100644 index 0000000..1601f56 --- /dev/null +++ b/src/main/kotlin/moe/nea/ledger/utils/telemetry/JsonElementContext.kt @@ -0,0 +1,9 @@ +package moe.nea.ledger.utils.telemetry + +import com.google.gson.JsonElement + +class JsonElementContext(val element: JsonElement) : ContextValue { + override fun serialize(): JsonElement { + return element + } +} |