TextRange () { final JsonValue nameElement = myProperty.getNameElement(); // Either value of string with quotes stripped or element's text as is return ElementManipulators.getValueTextRange(nameElement); }