JUCE icon indicating copy to clipboard operation
JUCE copied to clipboard

[Bug]: juce::JSON::parse ignoring end of JSON

Open ArthurVasseur opened this issue 7 months ago • 0 comments

Detailed steps on how to reproduce the bug

Folowing the discution on the forum

I’m attempting to parse an improperly formatted JSON string using JUCE:

juce::var json;

juce::String jsonString =  "{\n   \"value\": false\n}sssss"

juce::Result res = juce::JSON::parse(jsonString, json);

What is the expected behaviour?

The juce::JSON::parse function is returning without any issues.

Operating systems

Windows

What versions of the operating systems?

W11

Architectures

x86_64

Stacktrace

No response

Plug-in formats (if applicable)

No response

Plug-in host applications (DAWs) (if applicable)

No response

Testing on the develop branch

I have not tested against the develop branch

Code of Conduct

  • [X] I agree to follow the Code of Conduct

ArthurVasseur avatar Jul 05 '24 08:07 ArthurVasseur