Hello,
i finally updated my sinusbot installation from 0.14 to 1.0.0.
As some of my scripts are using APIEvents i now encounter issues with JSON interpretation.
Example:
If i send the following json:
The bot get me this:
If i send the following json, it works as expected:
This upper is just an simple example, my real scenario is a array full of objects with an unknown length but it behaves the same way.
Do I misunderstood something or need adjust my formatting/input?
Thank you!
i finally updated my sinusbot installation from 0.14 to 1.0.0.
As some of my scripts are using APIEvents i now encounter issues with JSON interpretation.
Example:
If i send the following json:
JSON:
{
"somedata": [
12345,
54321,
9875312
]
}
The bot get me this:
JSON:
{
"somedata": [
{},
{},
{}
]
}
If i send the following json, it works as expected:
JSON:
{
"somedata": {
"1": 123,
"2": 456
}
}
This upper is just an simple example, my real scenario is a array full of objects with an unknown length but it behaves the same way.
Do I misunderstood something or need adjust my formatting/input?
Thank you!