We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
my config file:
bla=bla HEX_ARRAY_1=0x34,0x38,0x99 HEX_ARRAY_2=0x31
properties parse result:
{ bla: 'bla', HEX_ARRAY_1: '0x34,0x38,0x99', HEX_ARRAY_2: 49 }
The one value in HEX_ARRAY_2 is translated to decimal directly.
Is there a way to not do that ?
The text was updated successfully, but these errors were encountered:
By default, property values will be cast to their JavaScript type equivalent. You can use tatablack's fix to disable number type cast: #12
Sorry, something went wrong.
@shaochuancs i can't understand how to use tatablack's fix..
@aleclofabbro The easiest way to use his fix is directly clone from his forked repository: https://github.com/tatablack/node-properties/tree/make-casting-optional
👍 Thx!
No branches or pull requests
my config file:
properties parse result:
The one value in HEX_ARRAY_2 is translated to decimal directly.
Is there a way to not do that ?
The text was updated successfully, but these errors were encountered: