5 ms·
This can be solved by sanitizing it prior to parsing and removing any property that starts with 'comment'. I know it's not a pretty solution, but it works. It's
by hood_syntax 10y ago
This can be solved by sanitizing it prior to parsing and removing any property that starts with 'comment'. I know it's not a pretty solution, but it works. It's an additional step, but it might be preferred by some people when it means working with a data format they prefer.
- jsingleton 10y agoSounds like a great way to get a bug report in a few year time (once you've forgotten about this feature) along the lines of: Property names starting with "comment" fail to deserialize. :)
- hood_syntax 10y agoHah, true...
- marxidad 10y agoAt that point, you might as well use normal comments and strip those out prior to sending them.