SaxxonPike / NextLevelSeven

A fast and simple library for Health Level Seven (HL7) v2 messages.
ISC License
22 stars 21 forks source link

Add unescaping support #8

Closed SaxxonPike closed 5 years ago

SaxxonPike commented 5 years ago

This should be on the path to resolving #7.

Permanently resolving it will be a breaking change; Value on any fields currently will always return the original value without processing. Ideally, we would love for encoding and escaping to be transparent. Look for this permanent change in 2.0.

A new property called RawValue will do what Value does today.

Also, because encoding has been introduced, Escape/UnEscape will respect whatever encoding configuration is used in whichever Builder or Parser is being used.