Unexpected deserialization difference between Mac and Linux #2338
Labels
kind: bug
solution: duplicate
the issue is a duplicate; refer to the linked issue instead
state: needs more info
the author of the issue needs to provide more details
What is the issue you have?
When deserializing the following json from a file on macOS
I get an object (which is expected)
When I run this same code, using the same json file in a docker container running Debian I get an array (unexpected)
This of course causes an exception be to thrown:
Can you provide a small but working code example?
Reading the file
Reading a property
What is the expected behavior?
I expect deserialization to be the same for both platforms.
And what is the actual behavior instead?
On macOS I get a json
object
back, on Linux I get anarray
back.Which compiler and operating system are you using?
Compiler: g++ (Linux) and clang (macOS)
Operating system:
Host: macOS Catalina
Container: Debian
Which version of the library did you use?
develop
branchI'm currently exposing the json file to the container via osxfs
The text was updated successfully, but these errors were encountered: