Skip to content

Conversation

@hu-ahmed
Copy link
Contributor

@hu-ahmed hu-ahmed commented Jan 28, 2026

Resolves: #2319

@thjaeckle
Copy link
Member

return "{{ " + THING_JSON_PREFIX_COLON + pointer + " }}";
}

private static final class ThingJsonPlaceholder implements Placeholder<JsonObject> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hu-ahmed this is basically a copy of ImmutableThingJsonPlaceholder from ditto-edge-service, right?

We should probably move ImmutableThingJsonPlaceholder to the ditto-placeholders module, make it work directly on JsonObject (to not have a dependency to the thing model) and re-use it also here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support {{ thing-json:<json-path> }} placeholder in /migrateDefinition migrationPayload

2 participants