Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function json_vfprintf convert {"three":2,"two":2,"one":2} to {""three"":1,""two"":1,""one"":1} #69

Open
RafalConnectIQ opened this issue Feb 7, 2023 · 0 comments

Comments

@RafalConnectIQ
Copy link

RafalConnectIQ commented Feb 7, 2023

Hello

I'm working on queuing MQTT messages in the absence of internet and I ran into a problem writing a file to disk, my input is
{"three":2,"two":2,"one":2}

when I use function json_vfprintf

the data stored on the disk looks like this
{""three"":1,""two"":1,""one"":1}
which is incompatible with JSON

Is it possible to call the function so that it doesn't add another " to the JSON or in somehow delete extra " from file ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant