JSON textunits should have a global ID

Description

The textunit resIds for JSON are generated with contentHash, which means the TextFlowTargets for:

1 2 3 4 "thing": { "title":"a string" "subject":"a string" }

will be the same.
This may not be desirable, as there is no context or convention that says they are they same in the way of translatable text.

There should be a means of getting the global id, e.g. thing.title, and using that in the resID.
See test JSONAdapterTest:testDuplicateContent.

Status

Assignee

Damian Jansen

Reporter

Damian Jansen

Labels

Tested Version/s

None

Components

Fix versions

Priority

High
Configure