Re:Parsing JSON is a Minefield
by ori_b on Sunday April 22, 2018 @07:31PM
(#16899299)
Protocol buffers sidestep the issue of independent implementations behaving differently by simply not having widely used independent implementations.
That said, I've still been bitten by the Python implementation on the Mac acting differently from the C++ implementation on Linux, although I can't remember exactly what the issue was right now.
Re:Parsing JSON is a Minefield
by agrafix on Sunday April 22, 2018 @08:46PM
(#16899673)
One of the things that has bitten me before was the maximum allowed nesting depth - this was different in two implementations, so one rejected the payload while the other one parsed it fine :(
That said, I've still been bitten by the Python implementation on the Mac acting differently from the C++ implementation on Linux, although I can't remember exactly what the issue was right now.