4 ms·
then how you distinguish between string "52" and number 52 ? Keep adding more edge cases and you have something resembles JSON
by mrheosuper 1y ago
then how you distinguish between string "52" and number 52 ?
Keep adding more edge cases and you have something resembles JSON
- skydhash 1y agoWhy do you need to differentiate between the two as an input? It’s config, not random data. If you have email test@example.com logo-size 100 background #adadaf modules auth modules db modules files The only reason to have special token here is if you multiple line values. Types are not a concern.
- bandie91 1y agoi don't. and neither my perl-based softwares. there should not be the possibility whereas a given parameter can have both string or a numeric value too at the configuration level which the user interfaces with - as of the "real-world analogy" programming paradigm suggests. json and stuff still do have their place but in a lower, machine-to-machine layer.