Describe the bug
I have this Json that comes from the Discord API: {\"url\": \"wss://gateway.discord.gg\", \"shards\": 1, \"session_start_limit\": {\"total\": 1000, \"remaining\": 986, \"reset_after\": 1501475, \"max_concurrency\": 1}}\r\n0\r\n\r\n and i do this to try to read it:
But the json_doc pointer always returns NULL, and I don't know what it could be, because I've already checked Json's formatting on a website and it's all right, I've already checked the string and it's all right, I don't know what could be happening anymore
Your environment
OS: Windows 10 2004 - 64 Bits
Compiler: MSVC (Visual Studio 2019)
Additional context
I installed the library by vcpkg
Describe the bug I have this Json that comes from the Discord API:
{\"url\": \"wss://gateway.discord.gg\", \"shards\": 1, \"session_start_limit\": {\"total\": 1000, \"remaining\": 986, \"reset_after\": 1501475, \"max_concurrency\": 1}}\r\n0\r\n\r\n
and i do this to try to read it:But the json_doc pointer always returns NULL, and I don't know what it could be, because I've already checked Json's formatting on a website and it's all right, I've already checked the string and it's all right, I don't know what could be happening anymore
Your environment
Additional context I installed the library by vcpkg