Short JSON files need to be deleted!!!

Reporter: k0T0z  |  Status: open  |  Last Modified: January 23, 2024, 12:59:21 pm
This is related to patch #2335 and issue #1951.

I found out that for the same input, there are multiple different outputs!!!

For example:

[ [ 1 , 2 ] , 2 ]

This can be converted to:

{
  " 0 ": {
    " 0 ": 1,
    " 1 ": 2
  },
  " 1 ": 2
}

OR

[
  {
    " 0 ": 1,
    " 1 ": 2
  },
  2
]

OR

[
  [
    1,
    2
  ],
  2
]

OR

{
  " 0 ": [
    1,
    2
  ],
  " 1 ": 2
}

They are all valid JSONs!!!

This needs to be discussed but I think the discussion will end up with these files deleted anyway:

short_json.cpp, short_json.h, short_json_converter.cpp, and short_json_converter.h.

saihaankhan12  

Hi, I would like to work on this issue. Could you pls assign it to me?

k0T0z  
Hello @saihaankhan12, we don't assign issues feel free to open a talk about this issue on ENIGMA's official discord server.
Please sign in to post comments, or you can view this issue on GitHub.