Skip to content

Commit 66bcb29

Browse files
Merge pull request #467 from jcsahnwaldt/patch-1
README.md: describe builder options attrkey and charkey
2 parents cec9dc0 + c1d49d8 commit 66bcb29

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,10 @@ Options for the `Builder` class
373373
These options are specified by ``new Builder({optionName: value})``.
374374
Possible options are:
375375

376+
* `attrkey` (default: `$`): Prefix that is used to access the attributes.
377+
Version 0.1 default was `@`.
378+
* `charkey` (default: `_`): Prefix that is used to access the character
379+
content. Version 0.1 default was `#`.
376380
* `rootName` (default `root` or the root key name): root element name to be used in case
377381
`explicitRoot` is `false` or to override the root element name.
378382
* `renderOpts` (default `{ 'pretty': true, 'indent': ' ', 'newline': '\n' }`):

0 commit comments

Comments
 (0)